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


This is another remind me blog entry: If you suffer from above message, then you are probably using Ubuntu under a virtual host. 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,