Ubuntu 15.10
I am TOTALLY confused by all the posts about the new service loaders, and rather concerned that Mongo don't seem to think that it is their issue to solve. Here is one of several posts that suggest it is nearly impossible, except with manual interventions. (A solution from 2011 is not a solution given the current mix of technology used by Ubuntu and Mongo.)
And yet, what I know is that mongod
no longer starts at boot time, but that if I open a console and run sudo service mongod start
, then it works.
What is the simplest way to automate this during the initial bootup?
rc.local
of all things!) really doesn't help matters when the the questioner identifies this as part of the very problem, Parto. See http://askubuntu.com/a/617869/43344, https://jira.mongodb.org/browse/SERVER-17742, and http://unix.stackexchange.com/a/187540/5132 for some of the many discussions of starting MongoDB with systemd and upstart. My experience, for what it's worth, is that "nearly impossible" should read "fairly easy". – JdeBP Dec 05 '15 at 19:48