update: /lib/init/upstart-job
has been replaced with the MongoDB init script.
For some reason, /etc/init.d/mysql start|stop|restart|status
(/etc/init.d/mysql
is simply a symlink to /lib/init/upstart-job
) is affecting my MongoDB install, not my MySQL install. service start|stop|restart|status mysql
works as you'd expect.
An example:
root@score:~# /etc/init.d/mysql status
* Checking status of database MongoDB
...fail!
root@score:~#
What could cause this, and how can I fix it?
Scripts:
/lib/init/upstart-job
: http://paste.ubuntu.com/517647//etc/init/mysql.conf
: http://paste.ubuntu.com/517648//etc/init/mongodb.conf
: http://paste.ubuntu.com/517649/
/etc/init.d/mysql
is a symlink to/lib/init/upstart-job
.status mysql
./etc/init/mysql
and (if that exists)/etc/init/mongodb