Detecting errors in upstart jobs
david at silveregg.co.jp
Fri Jul 30 10:39:05 BST 2010
I have not found a user mailing list, I hope this is the right place.
In one of Ubuntu's jobstart definition (mongodb), there is an issue
when the binary cannot be launched. More precisely, the script section
exec start-stop-daemon --start --quiet --chuid mongodb \
--exec /usr/bin/mongod -- --config /etc/mongodb.conf;
Does not signal any error even though mongod cannot be launched (the
exact issue here is one of the shared library of the mongodb executable
is missing). Worse, the status error of `service start mongodb` is 0.
How can I fix this ?
More information about the upstart-devel