LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-09-2003, 09:46 PM   #1
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Rep: Reputation: 15
shutdown hangs if initiated from Gnome menu halt option


I use RH7.1(2.4.2 kernel) SMP linux on the ABIT VP6 mobo, and when I shutdown, using Gnome menu->Desktop-> logout and use halt option, the RH7,1 SMP hangs and does not shut down at all.

But, if I use command in terminal emulation, shutdown -h now, it starts to shutdown right away. In RH7.1SMP, I run httpd, nfsd. Where should I look to fix this problem?

Thank you.
 
Old 02-10-2003, 12:41 AM   #2
rnturn
Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2), Solaris (8-10), Tru64
Posts: 916

Rep: Reputation: 46
Re: shutdown hangs if initiated from Gnome menu halt option

Quote:
Originally posted by jkmin
I use RH7.1(2.4.2 kernel) SMP linux on the ABIT VP6 mobo, and when I shutdown, using Gnome menu->Desktop-> logout and use halt option, the RH7,1 SMP hangs and does not shut down at all.

But, if I use command in terminal emulation, shutdown -h now, it starts to shutdown right away. In RH7.1SMP, I run httpd, nfsd. Where should I look to fix this problem?
Not sure if it applies here but I've seen a shutdown hang when the system attempted to umount an NFS disk on an unresponsive host. You could try running the scripts in /etc/rc.d/rc0.d by hand -- one at a time -- to see which one you're hanging in if think this might be happening. But, having said that, I sort of doubt that this is your problem. It's possible that you have some program running while in the GUI that is preventing a filesystem from being umounted. And are you doing this shutdown from the GUI as root? Or as a normal, unprivileged user? If it's as a regular user, you may not have permissions to shut the system down.

Good luck,

Rick
 
Old 02-10-2003, 11:32 AM   #3
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Original Poster
Rep: Reputation: 15
Re: Re: shutdown hangs if initiated from Gnome menu halt option

Quote:
Originally posted by rnturn
Not sure if it applies here but I've seen a shutdown hang when the system attempted to umount an NFS disk on an unresponsive host.
rnturn, thank you very much for the reply.
I think I have the case to umount an NFS disk on an unresponsive host. This is the home network, and I usu. do not turn on the NFS disk host(PC1) when I use this SMP RH7.1 linux(PC3). I will try turning on PC1 when I try shutting down the PC3. But then how come the command of shutdown works in the terminal emulation. Should it not hang also?

Quote:

You could try running the scripts in /etc/rc.d/rc0.d by hand -- one at a time -- to see which one you're hanging in if think this might be happening. But, having said that, I sort of doubt that this is your problem. It's possible that you have some program running while in the GUI that is preventing a filesystem from being umounted. And are you doing this shutdown from the GUI as root? Or as a normal, unprivileged user? If it's as a regular user, you may not have permissions to shut the system down.

Good luck,

Rick
I use 'root' userid when I try to shut down, and there is no GUI program running except the GNONE itself. I will try running the scripts in /etc/rc.d/rc0.d by hand -- one at a time, as you suggested.

Thank you for the reply.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding shutdown option to gnome eranj Linux - Software 3 07-19-2005 10:20 AM
Adding menu option (to GNOME) podollb Linux - Software 2 10-23-2004 07:33 PM
Shutdown Gnome Menu for non-root user? schmmd Linux - General 4 03-10-2004 09:49 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 01:00 AM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 02:05 PM


All times are GMT -5. The time now is 03:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration