LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shutdown hangs if initiated from Gnome menu halt option (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-hangs-if-initiated-from-gnome-menu-halt-option-44750/)

jkmin 02-09-2003 09:46 PM

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.

rnturn 02-10-2003 12:41 AM

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

jkmin 02-10-2003 11:32 AM

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.


All times are GMT -5. The time now is 06:08 PM.