[DOCS-5555] Comment on: "manual/tutorial/manage-mongodb-processes.txt" Created: 03/Jun/15  Updated: 11/Jan/17  Resolved: 20/Sep/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Andrew Aldridge
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 7 years, 21 weeks, 1 day ago

 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)



 Comments   
Comment by Andrew Aldridge [ 20/Sep/16 ]

The service is called mongod since MongoDB 2.6.

Generated at Thu Feb 08 07:50:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.