[DOCS-10258] Comment on: "manual/tutorial/install-mongodb-on-ubuntu.txt" Created: 15/May/17  Updated: 27/Oct/23  Resolved: 15/May/17

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

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Andrew Aldridge
Resolution: Works as Designed Votes: 0
Labels: collector-298ba4e7, linux-installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16.04; mongo 3.4.4

Location: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Referrer: http://stackoverflow.com/questions/26852138/sudo-service-mongodb-restart-gives-unrecognized-service-error-in-ubuntu-14-0-4
Screen Resolution: 1366 x 768


Participants:
Days since reply: 6 years, 39 weeks, 2 days ago

 Description   

I followed this tutorial (https://docs.mongodb.com/master/tutorial/install-mongodb-on-ubuntu/) but failed at "start mongo".
When I executed "sudo service mongod start", it showed: "mongod: unrecognized service"

It had been reported in https://github.com/Microsoft/BashOnWindows/issues/1822 but this issue is not perfected resolved.



 Comments   
Comment by Andrew Aldridge [ 15/May/17 ]

This will occur if you incorrectly install the unofficial mongodb package rather than the official mongodb-org packages.

Generated at Thu Feb 08 08:00:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.