LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2014, 12:22 PM   #1
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Rep: Reputation: 17
How to troubleshoot problem with system not actually rebooting after shutdown command


I'm trying to remotely reboot a RHEL 5.3 server I have SSH access to.

I issued the reboot command and I got the 'The system is going down for reboot NOW!' message but it never actually rebooted. I did it multiple times since it was still up, I expected to be booted off SSH connection but it stayed up:

Code:
Sep 12 08:33:07 sblade1 shutdown[29489]: shutting down for system reboot
Sep 12 08:33:10 sblade1 init: Switching to runlevel: 6
Sep 12 08:37:43 sblade1 shutdown[31275]: shutting down for system reboot
Sep 12 08:38:49 sblade1 shutdown[31694]: shutting down for system reboot
It's now a couple hours later and the system is still up and I can SSH to it still. Same behavior from shutdown -r now command. How do I figure out what's preventing the reboot?

My hunch is the actual terminal on the server shows the progress from the initial shutdown I initiated, however something might be blocking a step and it's stuck at that particular step of the shutdown process? I only have SSH access so I don't know how I could see that remotely.

Any suggestions?
 
Old 09-12-2014, 02:57 PM   #2
Arodef
Member
 
Registered: Apr 2004
Distribution: Centos, Fedora
Posts: 125

Original Poster
Rep: Reputation: 17
Update: The monitor attached just showed a login screen. I had someone do a hard reset of the server. It came back up. From examining dmesg, it shows a message about 63 orphan inodes deleted from an attached external drive (see below). Perhaps that filesystem could not be unmounted so that's what was preventing the reboot? Server seems to be running fine though so I'll keep my fingers crossed.



Code:
EXT3-fs warning: checktime reached, running e2fsck is recommended
EXT3 FS on dm-2, internal journal
ext3_orphan_cleanup: deleting unreferenced inode 330301458
ext3_orphan_cleanup: deleting unreferenced inode 330301462
ext3_orphan_cleanup: deleting unreferenced inode 330301470
ext3_orphan_cleanup: deleting unreferenced inode 330301473
ext3_orphan_cleanup: deleting unreferenced inode 330301457
ext3_orphan_cleanup: deleting unreferenced inode 556910141
..SNIP...
ext3_orphan_cleanup: deleting unreferenced inode 556910093
ext3_orphan_cleanup: deleting unreferenced inode 556910087
ext3_orphan_cleanup: deleting unreferenced inode 556922666
ext3_orphan_cleanup: deleting unreferenced inode 556910089
ext3_orphan_cleanup: deleting unreferenced inode 556910084
EXT3-fs: dm-2: 63 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.

Last edited by Arodef; 09-12-2014 at 03:11 PM.
 
  


Reply



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
Problem in Rebooting linux system from a web page amit_1 Linux - Software 19 05-14-2012 02:41 AM
shutdown system from command line RAFAL Linux - Newbie 3 08-18-2008 12:36 PM
system does not boot after shutdown -h command manhar_puri Linux - Laptop and Netbook 3 08-31-2004 08:25 PM
Shutdown -h Rebooting shusseina Linux - Software 5 05-25-2003 05:13 AM
Rebooting on Shutdown shusseina Linux - Hardware 2 11-09-2002 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:51 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
Open Source Consulting | Domain Registration