LinuxQuestions.org
Register a domain and help support LQ
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 03-30-2010, 06:52 AM   #1
dctw
LQ Newbie
 
Registered: Oct 2009
Posts: 27

Rep: Reputation: 0
Unable to shutdown/reboot server, no shutdown process running


Hi guys,

I'm trying to reboot the server (shutdown -r now).
But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

Any idea?
 
Old 03-30-2010, 06:52 AM   #2
dctw
LQ Newbie
 
Registered: Oct 2009
Posts: 27

Original Poster
Rep: Reputation: 0
I'm using RHEL3 btw..
 
Old 03-30-2010, 06:56 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 592

Rep: Reputation: 64
Quote:
Originally Posted by dctw View Post
Hi guys,

I'm trying to reboot the server (shutdown -r now).
But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

Any idea?
You should be root to execute shutdown command, you can try reboot command here.

shutdown -c resulted that error means the command shutdown -r now is actually never executed so a pid for the process did not generate.

Last edited by Sayan Acharjee; 03-30-2010 at 06:59 AM.
 
1 members found this post helpful.
Old 03-30-2010, 09:51 PM   #4
dctw
LQ Newbie
 
Registered: Oct 2009
Posts: 27

Original Poster
Rep: Reputation: 0
Yes I am a root user.
I'll try the "reboot" command later.
 
Old 03-31-2010, 06:43 AM   #5
dctw
LQ Newbie
 
Registered: Oct 2009
Posts: 27

Original Poster
Rep: Reputation: 0
Done.. works like a charm...
Now I can use the "shutdown" command as usual.

Thank you so much for the help.
 
Old 03-31-2010, 06:46 AM   #6
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 592

Rep: Reputation: 64
Quote:
Originally Posted by dctw View Post
Done.. works like a charm...
Now I can use the "shutdown" command as usual.

Thank you so much for the help.
My pleasure
You can also use init 6 as root.
 
  


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
[FYI] "last -f <old wtmp> -x reboot shutdown" incorrect for last reboot and shutdown catkin Linux - General 1 03-26-2010 12:52 AM
[SOLVED] first file which is executed when we reboot or shutdown Linux server vikas027 Linux - General 13 08-22-2009 07:14 AM
LXer: Shutdown, Reboot and Init Process Flow On Solaris Unix LXer Syndicated Linux News 0 10-09-2008 01:50 PM
Unable to Reboot/Shutdown 3rdKey Linux - General 1 09-26-2007 08:46 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM


All times are GMT -5. The time now is 08:36 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