LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2005, 06:06 AM   #1
mgrundy
LQ Newbie
 
Registered: Mar 2005
Location: England
Posts: 6

Rep: Reputation: 0
Question Desktop won't run after reboot


After rebooting a Redhat server yesterday it won't now run the desktop, only command line.

The error Gnome is giving is ...

/usr/bin/gdm: line 7: /opt/CA/AVEngine/scripts/envusr: No such file or directory

When I look, the CA directory does not exist, but I can't find the reference to it in the gdm executable.

I've checked on our other servers which run Fedora 3 and no such directory exists on them.

I've searched on the web for the envusr file but to no avail.

Any ideas?

Last edited by mgrundy; 03-09-2005 at 06:30 AM.
 
Old 03-09-2005, 06:25 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Re: Desktop won't run after reboot

Quote:
Originally posted by mgrundy
After rebooting a Redhat server yesterday it won't now run the desktop, only command line.

The error Gnome is giving is ...

/usr/bin/gdm: line 7: /opt/CA/AVEngine/scripts/envusr: No such file or directory

When I look, the CA directory does not exist, but I can't find the reference to it in the gdm executable.

I've checked on our other servers which run Fedora 3 and no such directory exists on them.

A search on the web for the envusr file but to no avail.

Any ideas?
since it gave you a line number (??), try this in a console and see what it reports:

file /usr/bin/gdm

see if it is a shell script red hat setup to modify and call gdm or if it is the elf executable.
 
Old 03-09-2005, 06:31 AM   #3
mgrundy
LQ Newbie
 
Registered: Mar 2005
Location: England
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry, try what in a console?
 
Old 03-09-2005, 07:06 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Code:
file /usr/bin/gdm
see if it looks something like this ( I don't have or use gdm so for my example we'll use gnome-session):

bash-2.05b$ file /opt/gnome-2.9/bin/gnome-session
/opt/gnome-2.9/bin/gnome-session: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped

since your error above had a line number, let's make sure it's an actual executable first.
 
Old 03-09-2005, 07:27 AM   #5
mgrundy
LQ Newbie
 
Registered: Mar 2005
Location: England
Posts: 6

Original Poster
Rep: Reputation: 0
Ah. I'd already tried that.

It does execute and produces the error. However line 7 in the script is blank and nowhere does it make a reference to the missing file/directory. At the end it executes another file called gdm-binary which seems to run ok.

And I've just had a quick flash of inspiration. One other thing the gdm script does is to run the /etc/profile within it's own shell to set up the system variables. It's line 7 in this that is producing the error but because it's run within the gdm shell the error message makes it look as if that is the source of the error.

Now I can do some more investigating!
 
Old 03-09-2005, 08:35 AM   #6
mgrundy
LQ Newbie
 
Registered: Mar 2005
Location: England
Posts: 6

Original Poster
Rep: Reputation: 0
For now I've resorted to 'quick and dirty'
Since it insists on wanting this file I've created it as an empty executable file.

Now it reboots and starts the desk top perfectly. When I can spare the time I'll dig deeper still to try to resolve it properly but for now it will do. However if anyone else has any ideas I'd be pleased to receive them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
system freezes after reboot (M10.2, desktop computer) fenicio Mandriva 2 11-20-2005 08:46 AM
How can i run a command that will take me to desktop. :King_58: Linux - Newbie 5 09-28-2004 02:09 PM
hard crash after 20 mins. every time on first boot reboot and it will run ok bejamin1 Mandriva 5 02-02-2004 01:42 PM
run process when reboot ust Linux - General 2 08-15-2003 02:49 AM
reboot/run-level changes interupted by x wlfdgcrkz *BSD 1 06-03-2003 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration