3

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
frbayart
  • 327
  • 2
  • 8

1 Answers1

8

I have manually stopped all my important services like LDAP, PostgreSQL and MySQL. And I did run:

reboot -f

The -f force parameter to ignore the init system. After the reboot I was able to make a simple reboot without force mode.

Another solution could be more agressive but useful to know, send a magic sysreq remotely with:

echo b > /proc/sysrq-trigger

See more information about Magic SysReq on Wikipedia.

Tombart
  • 2,143
  • 3
  • 27
  • 48
frbayart
  • 327
  • 2
  • 8