I have make some test on a Jessie server with Upstart installation and replace it by SysV and the reverse.
After this I'm not anymore able to reboot.
root@amoo-001:~# reboot
Failed to talk to init daemon.
root@amoo-001:~# systemctl reboot
Failed to get D-Bus connection: Unknown error -1
I have manually stopped all my important services like LDAP, PostgreSQL and MySQL. And I did run:
The
-f
force parameter to ignore the init system. After the reboot I was able to make a simplereboot
without force mode.Another solution could be more agressive but useful to know, send a magic sysreq remotely with:
See more information about Magic SysReq on Wikipedia.