I've switched from sysvinit to upstart but get the below message whenever I attempt to start a service:

Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

Upstart does execute all the old sysvinit scripts at startup so it is safe to switch. But Upstart scripts don't seem to work for me.

Does anyone know what may be causing the above error message? The only reference to it I've come across is in relation to running within a chroot or a virtual machine, neither apply.


1 Answer 1


Have you rebooted the Pi? serverfault.com/q/236667/upstart-does-not-work
- Steve Robillard on July 24 at 2:42

Basically, the link says that you should try rebooting the system. Thanks Steve!

  • Such a simple answer, but it worked haha Jan 13, 2017 at 5:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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