I have a stock install of Ubuntu 14, installed a few weeks ago. I installed mongodb with apt-get. When I run

sudo service mongodb start

then the service runs correctly and I can access all the mongodb goodness. However, whenever I reboot it will not start automatically. I have tried running update.rc or whatever it is called, and it claims to run successfully however still no luck.

Is this a known issue? How can I diagnose it? And I guess, most importantly, how can I make it start at reboot?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.