[SERVER-6046] --install on Windows uses working directory instead of path to mongod to install Windows service Created: 08/Jun/12  Updated: 15/Aug/12  Resolved: 09/Jun/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Ryan Hoffman Assignee: Tad Marshall
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3097 mongod --install uses wrong image pat... Closed
Operating System: Windows
Participants:

 Description   

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.



 Comments   
Comment by Tad Marshall [ 09/Jun/12 ]

Hi Ryan,

I'm sorry to do this to you again, but this one is also fixed in 2.1.0. It's SERVER-3097, and I just requested backport on it (to try to get it into 2.0.x).

Tad

Generated at Thu Feb 08 03:10:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.