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

Comment on: "manual/tutorial/install-mongodb-on-windows.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None

    Description

      The service creation command has a minor bug.

      the one that works for me is :

      sc.exe create MongoDB binPath= "C:\MongoDB\bin\mongod.exe --service --config=\"C:\MongoDB\mongod.conf\"" DisplayName= "MongoDB" start= "auto"

      and not

      sc.exe create MongoDB binPath= "\"C:\MongoDB\bin\mongod.exe\" --service --config=\"C:\MongoDB\mongod.conf\"" DisplayName= "MongoDB" start= "auto"

      Attachments

        Activity

          People

            andrew.aldridge@mongodb.com Andrew Aldridge
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 33 weeks, 5 days ago