Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
ubuntu 12.04
mongodb 3.0.3
pymongo 3.0.2
mongoengine 0.9
python 2.0.7
*Location*: http://docs.mongodb.org/manual/tutorial/manage-mongodb-processes/
*User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36
*Referrer*: http://stackoverflow.com/questions/11774887/how-to-stop-mongo-db-in-one-command
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: tutorial/manage-mongodb-processes
ubuntu 12.04 mongodb 3.0.3 pymongo 3.0.2 mongoengine 0.9 python 2.0.7 *Location*: http://docs.mongodb.org/manual/tutorial/manage-mongodb-processes/ *User-Agent*: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/41.0.2272.76 Chrome/41.0.2272.76 Safari/537.36 *Referrer*: http://stackoverflow.com/questions/11774887/how-to-stop-mongo-db-in-one-command *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: tutorial/manage-mongodb-processes
Description
I'm upgrading an ansible script to auto provision mongoDb (change from 2.4 to 3.0.3) and the last step is to start it as a service this script used to work starting service as mongodb but it no longer works since the list of services registered as:
dpkg --get-selections | grep -i mongo
mongodb-org hold
mongodb-org-mongos hold
mongodb-org-server hold
mongodb-org-shell hold
mongodb-org-tools hold
so mongodb has to be started as mongodb-org but I'm not sure whether I have to start each of these services on their own. (i.e. start five different services)