shutdown hangs if initiated from Gnome menu halt option
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
Distribution: Red Hat (8.0), SuSE (10.x, 11.x), Solaris (8-10), Tru64
Posts: 738
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.