In some situations you cant reboot your server with “reboot” or “init 6” commands. Try this magic solution:
System will just make a hard reset as if you pressed a reset button, without running any shutdown scripts or umounting of your filesystem.
First enable SysRq:
echo 1 > /proc/sys/kernel/sysrq
Now your can send magic commands, example reboot:
echo b > /proc/sysrq-trigger
Hard Shutdown of your system immediately (Like Power Off button):
echo o > /proc/sysrq-trigger