Search


print PDF
How to reboot my dedicated server?

You have two possibilities to reboot your server:
  • Soft reboot
  • Hard reboot

Soft reboot

It's done by simultaneous pressing Ctrl+Alt+Delete and waiting for server to restart. This method has one huge advantage - it dismounts the disks and therefore Linux will not waist time for checking data on the disks.

You cannot press Ctrl+Alt+Delete on your server but you may use the command which will bring the same results. To do it, log via ssh, telnet or webmin to the root.

example in SSH:

$ ssh root@xxxx.ovh.net
Password:
Last login: Wed Oct 1 12:12:00 2003 from ping.ovh.net
Red Hat Linux release 7.2 (Enigma)
Linux xxxx.ovh.net 2.4.19 #2 SMP mer nov 20 17:40:06 CET 2002 i686 unknown

machine : zzzz
release : 1.38
ip : 213.186.tt.ee
hostname : xxxx.ovh.net
root@xxx root#


To reboot your server you need to use /sbin/reboot command and click Ctrl+d, to disconnect the server. If you don't disconnect, the server will stop react to pings.

root@xxxx root# /sbin/reboot

Broadcast message from root (pts/0) (Wed Oct 1 12:13:03 2003):

The system is going down for reboot NOW!
root@xxxx root# ctrl-d


It's now nece4ssary to send ping to your server to know if it works properly.

$ ping ns2292.ovh.net


When your server starts to respond to pings you may connect to it again and check uptime.

$ ssh root@xxxx.ovh.net
Password:
Last login: Wed Oct 1 12:12:00 2003 from ping.ovh.net
Red Hat Linux release 7.2 (Enigma)
Linux xxxx.ovh.net 2.4.19 #2 SMP mer nov 20 17:40:06 CET 2002 i686 unknown

machine : zzzz
release : 1.38
ip : 213.186.tt.ee
hostname : xxxx.ovh.net
root@xxx root# w
12:20pm up 5 min, 1 user, load average: 0.00, 0.04, 0.01
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 ping.ovh.net 12:17pm 0.00s 0.01s 0.00s w


Hard reboot
If you have problems with soft reboot of your server (server doesn't ping, webmin, ssh and telnet don't work) you may think about hard reboot.This method is based on power supply cut for 15 sec. When the power supply is on again, the server will start running. Because in hard reboot disks are nit dismounted, it's very probable that Linux will check their content. It may take from several minutes to several hours in case of complicated RAID installations. This is why it's more advisable to use soft reboot.

To hard reboot your server you need to log in to: Manager v3.
First, choose the server from the menu on the left.
Then click "Services" and then "Reboot the server" in Hardware reboot section.

- CONFIRMATION -
Please confirm the following information :

You want to do the HARD reboot
(power supply cut 220v for 15 sec)
server nszzz xxx.ovh.net (213.186.yy.zz).
System reboot: At(1)


You may also give reason for reboot:
reboot done by xxxx-ovh because of:


Don't hesitate to fill in this field. Our technicians receive those information and analyze them. This information is also kept in your server logs and you may check it in Manager.

Then you'll see:

reboot in progress


It means that power has been supplied again.
You may reboot server every 20 minutes.

Send ping:

$ ping ns2292.ovh.net

When server starts responding to pings, you may connect to the server again and check the uptime.

$ ssh root@xxxx.ovh.net
Password:
Last login: Wed Oct 1 12:12:00 2003 from ping.ovh.net
Red Hat Linux release 7.2 (Enigma)
Linux xxxx.ovh.net 2.4.19 #2 SMP mer nov 20 17:40:06 CET 2002 i686 unknown

machine : zzzz
release : 1.38
ip : 213.186.tt.ee
hostname : xxxx.ovh.net
root@xxx root# w
12:20pm up 5 min, 1 user, load average: 0.00, 0.04, 0.01
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 ping.ovh.net 12:17pm 0.00s 0.01s 0.00s w