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


Note: There were multiple problems reported when applying the change on some installations. I particularly discourage to do this on a non-virtual machine! If you still want to give this fix a try, make sure you have a snapshot/backup!

This is another remind me blog entry: If you suffer from above message, then you are probably using Ubuntu in a virtual machine. If so, you will need to modify initctl to simply return true using the following steps. First, you need to tell dpkg, that you are going to change the upstart package installation using:

sudo dpkg-divert --local --rename --add /sbin/initctl

Then, you need to create a dummy initctl as a link to true:

ln -s /bin/true /sbin/initctl

That’s it,