LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2004, 08:12 PM   #1
KJI
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
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
 
Old 04-07-2004, 08:55 PM   #2
fzx1
Member
 
Registered: Apr 2004
Posts: 31

Rep: Reputation: 15
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.
 
Old 04-07-2004, 11:24 PM   #3
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
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.
 
Old 04-07-2004, 11:36 PM   #4
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
Oops, accidental repost. Forgot how to delete...

Last edited by scott_R; 04-07-2004 at 11:38 PM.
 
Old 04-08-2004, 06:33 AM   #5
KJI
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the response guys, rebooting the server worked.
 
  


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
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 11:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 03:49 PM


All times are GMT -5. The time now is 08:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration