Skip to main content
Welcome guest. | Register | Login | Post

shutdown -r now

10 replies [Last post]
kanenas.net's picture
Offline
Joined: 2006-03-27

New problems arrived !
The command...
shutdown -r now
doesn't work ! The hard disk works like crazy, but at the end I need to press the "button" in order to shutdown the machine.
Only...
shutdown -h now
works !!!
Any suggestions ???

Using PuTTY in Fedora Core 5, kernel: 2.6.17-1.2187_FC5

a thing's picture
Offline
Joined: 2005-12-20
init

Just use init 0.

kanenas.net's picture
Offline
Joined: 2006-03-27
please explain...
a thing wrote:

Just use init 0.

Could you please explain a little bit more...
Thanks !

dylunio's picture
Offline
Joined: 2005-12-20
If you use init 6 as root in

If you use init 6 as root in the terminal the computer should reboot, replace 6 with 0 if you wish to halt the system.

dylunio

kanenas.net's picture
Offline
Joined: 2006-03-27
init 6 has the same results

init 6
has the same results with
shutdown -r now
Sorry... no good !
:-( :-( :-(

free-zombie's picture
Offline
Joined: 2006-03-08
dylunio wrote: If you use
dylunio wrote:

If you use init 6 as root in the terminal the computer should reboot, replace 6 with 0 if you wish to halt the system.

I personally always use poweroff and reboot Eye.

AndrewB's picture
Offline
Joined: 2005-12-18
I think shutdown poweroff

I think shutdown poweroff are symlinks to init 0, though I can not check.

/sbin/init 0
/usr/sbin/init 0

IIRC some fedora versions have errors where by /sbin[s] are not in the $PATH.

AndrewB's picture
Offline
Joined: 2005-12-18
Also, I think version 2, FC2

Also, I think version 2, FC2 you needed it to be
telinit 0

kanenas.net's picture
Offline
Joined: 2006-03-27
The solution was... just to

The solution was... just to and a few MB's of RAM !!!
;-)
Now everything is working just fine!

dylunio's picture
Offline
Joined: 2005-12-20
Heh, strange, your computer

Heh, strange, your computer didn't have enough memory to reboot.