[DOCS-3416] Ubuntu installation instructions should specify "service" commands instead of init scripts Created: 16/May/14  Updated: 01/Jul/14  Resolved: 01/Jul/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.7

Type: Improvement Priority: Blocker - P1
Reporter: Ernie Hershey Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/537.36
Referrer: http://docs.mongodb.org/manual/tutorial/getting-started/
Screen Resolution: 1920 x 1080
repo: docs
source: tutorial/install-mongodb-on-ubuntu


Issue Links:
Duplicate
is duplicated by DOCS-3433 Comment on: "manual/tutorial/install-... Closed
Participants:
Days since reply: 9 years, 33 weeks, 1 day ago

 Description   

Instead of "/etc/init.d/mongod

{start, stop, status}" we should tell users to run "service mongod {start, stop, status}

"

to avoid this confusing error:

Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mongod start
 
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mongod

I verified that the service commands work in Ubuntu 10.04, 12.04 and 14.04.



 Comments   
Comment by Githook User [ 01/Jul/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3416: change init.d scripts to service targets
Branch: master
https://github.com/mongodb/docs/commit/e8ba209ddf53e5c726c7b76a464d958e01654fb3

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