LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-20-2009, 03:38 AM   #1
cyrusstpierre
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
linux server wont shutdown


I am using a older distribution of linux, Fedora Core 6. I know its probably time to upgrade but that's a job for another day.

Right now the problem I am having is the shutdown command is not functioning. Shutting down or rebooting from Xwindows does the same thing. The shutdown command sends out a warning to all terminals then does nothing. The system continues to function as if the shutdown command was never used. If I use the ps command to look at processes i can see shutdown running. I am out of ideas on where to look to find what is causing the problem. I have found nothing useful in /var/log. Anyone have any ideas I can look into?

# shutdown -r now
Code:
Broadcast message from root (pts/4) (Tue Oct 20 02:31:41 2009):

The system is going down for reboot NOW!

Broadcast message from root (pts/5) (Tue Oct 20 01:56:09 2009):

The system is going down for reboot NOW!
It just hangs there with no additional info. No services are stopping, no filesystems unmounted and so on.
 
Old 10-20-2009, 03:51 AM   #2
sacx
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Is reboot command working ?

Probably is a "zombie" process what cannot be stopped.

Regards
 
Old 10-20-2009, 03:57 AM   #3
cyrusstpierre
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
reboot
shutdown -h now
shutdown -r now

They all do the same thing. The command displays the warning then nothing.
 
Old 10-20-2009, 06:13 AM   #4
cyrusstpierre
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Well I finally fixed the problem. Anyone know an easier way for me to track down this problem in the future rather than my 100 guesses to finally find the problem? It's frustrating that something wasn't printed in /var/log/messages.

I had an external USB hard drive attached to the server. About a week ago we had multiple power failures that drained the battery backups and the servers were forced off and on several times causing lots of file systems errors on the external USB drive (ext3). To fix the reboot problem I simply loaded a linux rescue disk and ran

e2fsck -y -C hd /dev/sdb1

It found a ton of errors, fixed them and then after remounting the drive I was able to issue the appropriate shutdown commands.
 
  


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
Kubuntu wont shutdown or reboot? Azalar Ubuntu 9 10-26-2009 08:51 PM
PID wont shutdown ashlyjay Linux - Newbie 6 03-15-2007 01:05 PM
Why do browsers shutdown and wont startup again? M$ISBS General 2 06-20-2006 07:53 AM
acidrip wont shutdow pc shutdown jeller Ubuntu 2 05-10-2006 02:12 PM
how can I remote shutdown other WinNT server from Linux Server? adelel Linux - Networking 2 01-06-2002 12:21 AM


All times are GMT -5. The time now is 03:14 PM.

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