0
When I tried to reboot my remote linux server with reboot command the server shuts down. Command used:
linux-ozzesh:~ # reboot
Why is this happening? Isn't there any other command that would restart my server instead of shutdown?
0
When I tried to reboot my remote linux server with reboot command the server shuts down. Command used:
linux-ozzesh:~ # reboot
Why is this happening? Isn't there any other command that would restart my server instead of shutdown?
2
Maybe your reboot
command alias to shutdown
check it! Try to exec this command:
shutdown -r now
and feedback here what happens.
0
That command certainly should restart it and not shut it down. You could try "shutdown -r now" I'm guessing you are already using root privileges?
0
You should use the f flag. From the reboot
man
page:
-f, --force
Does not invoke shutdown(8) and instead performs the actual
action you would expect from the name.
So you should invoke this command:
user@host:~ # reboot -f
1You could also use
init 6
instead of the shutdown command. – mat – 2013-04-29T08:11:11.023