[DOCS-8533] Comment on: "manual/tutorial/install-mongodb-on-ubuntu.txt" Created: 09/Aug/16  Updated: 03/Nov/17  Resolved: 14/Dec/16

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

Type: Bug Priority: Major - P3
Reporter: Manish Patel Assignee: Andrew Aldridge
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux epicuridev 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.1 LTS
16.04 xenial

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/51.0.2704.103 Safari/537.36
Referrer: https://docs.mongodb.com/manual/administration/install-on-linux/
Screen Resolution: 1920 x 1200


Participants:
Days since reply: 7 years, 9 weeks ago

 Description   

The step here "(Ubuntu 16.04-only) Create systemd service file" is incorrect. Following these instructions alone doesn't ensure MongoDB starts up on reboot. A call to systemctl doesn't see this file.

I copied the contents of that file to "/etc/systemd/system/mongodb.service" instead and then ran:

sudo systemctl enable mongodb

And then on reboot mongodb starts up as expected.



 Comments   
Comment by Andrew Aldridge [ 14/Dec/16 ]

That step is gone now that our packages handle this step themselves.

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