Skip to content

Instantly share code, notes, and snippets.

Created September 1, 2013 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6401617 to your computer and use it in GitHub Desktop.
Save anonymous/6401617 to your computer and use it in GitHub Desktop.
root@9122a744d790:/# service mysql start
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
root@9122a744d790:/# ^C
root@9122a744d790:/# /etc/init.d/mysql
Usage: /etc/init.d/mysql COMMAND
root@9122a744d790:/# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment