--install on Windows uses working directory instead of path to mongod to install Windows service

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Windows
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When executing mongod --install, if the current working directory is outside of the mongod installation directory, the installer will add the service path as [workingdir]\mongod.exe. This is incorrect and results in the following message when you execute "net start mongodb":

      C:\>net start mongodb
      System error 2 has occurred.

      The system cannot find the file specified.

              Assignee:
              Tad Marshall
              Reporter:
              Ryan Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: