Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-3416

Ubuntu installation instructions should specify "service" commands instead of init scripts

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Blocker - P1 Blocker - P1
    • v1.3.7
    • None
    • manual

    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.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            ernie.hershey@mongodb.com Ernie Hershey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 33 weeks, 1 day ago