LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Unable to shutdown/reboot server, no shutdown process running (https://www.linuxquestions.org/questions/linux-server-73/unable-to-shutdown-reboot-server-no-shutdown-process-running-798849/)

dctw 03-30-2010 05:52 AM

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?

dctw 03-30-2010 05:52 AM

I'm using RHEL3 btw..

Sayan Acharjee 03-30-2010 05:56 AM

Quote:

Originally Posted by dctw (Post 3917775)
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.

dctw 03-30-2010 08:51 PM

Yes I am a root user.
I'll try the "reboot" command later.

dctw 03-31-2010 05:43 AM

Done.. works like a charm...
Now I can use the "shutdown" command as usual.

Thank you so much for the help.

Sayan Acharjee 03-31-2010 05:46 AM

Quote:

Originally Posted by dctw (Post 3918953)
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.


All times are GMT -5. The time now is 10:58 AM.