Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6046

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

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

      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 Tad Marshall
            Reporter:
            rhoffman Ryan Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: