Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard .

Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r now the system completly shuts down and has to be restarted using the power button!! I cant find any BIOS setting that seems applicable.

Any help/pointers greatly appreciated.

share|improve this question
5  
Have you tried "reboot" ? – Ed Villegas Jan 23 at 14:29
Behaviour of shutdown is a setting in Ubuntu not in BIOS. – Rinzwind Jan 23 at 15:05
As a workaround tour could just use 'sudo reboot'. – Seth Jan 23 at 15:12
reboot does exactly the same :-( – Julian Jan 23 at 16:08
While this is not a duplicate but the opposite from why-cant-i-restart-shutdown the answers there might provide a clue for you too. – guntbert Jan 28 at 20:48
show 3 more comments

3 Answers

You can try

sudo reboot now

to reboot the system, instead.

share|improve this answer

Restart using init:

sudo init 6

The init 6 command gracefully reboots the system running all the K* shutdown scripts first, before rebooting. The reboot command does a very quick reboot. It doesn’t execute any kill scripts, but just unmounts filesystems and restarts the system.

share|improve this answer
1  
This is incorrect. reboot is only more abrupt than init 6 or shutdown -r now if you use reboot --force (or equivalently reboot -f). Normal operation of reboot (when run simply with sudo reboot) is to invoke shutdown, which in turn invokes init to change the runlevel. See man 8 reboot and man 8 shutdown for details. In other words, it is simply false to say that K* scripts are not run when rebooting with sudo reboot. They are. – Eliah Kagan Apr 2 at 17:31

You may want to try

shutdown -h now

instead. From the manual page

-h Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system.

share|improve this answer
1  
The OP doesn't want halt or power off, but reboot. – belacqua May 9 at 15:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.