LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shutdown now (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-now-167497/)

KJI 04-07-2004 07:12 PM

Shutdown now
 
While logged in as root on Linux Fedora core, a program I was running required me to use the command "shutdown now." After Because it didn't seem to work, I tried again and got
"The system is going down to maintenance mode NOW"

Now I can't log into the server with putty or anything else.

How would I undo this and what program would I use?



Thanks,
KJI

fzx1 04-07-2004 07:55 PM

next time if you are going to shut down do

shutdown -h now

just turn your pc off and boot back up should be fine.

scott_R 04-07-2004 10:24 PM

What happened is that "shutdown now" sent you to runlevel 1. This is the default, if you don't use a switch like -h (halt) or -r (reboot), which disables all the networking stuff and sends you into what's essentially "safe mode".

Issuing 'init #' (typically 5) will return you to your gui, or you can just retry the shutdown command. This command has no long term effect on your system.

scott_R 04-07-2004 10:36 PM

Oops, accidental repost. Forgot how to delete...

KJI 04-08-2004 05:33 AM

Thanks for the response guys, rebooting the server worked.


All times are GMT -5. The time now is 06:46 PM.