LinuxQuestions.org
Visit Jeremy's Blog.
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 03-30-2010, 05: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, 05: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, 05:56 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

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 05:59 AM.
 
1 members found this post helpful.
Old 03-30-2010, 08: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, 05: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, 05:46 AM   #6
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

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



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

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

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