[SERVER-6394] Installing a service with a relative path for config results in a mongos service that cannot be started Created: 11/Jul/12  Updated: 06/Dec/22  Resolved: 21/Mar/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 2.2.0-rc0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7, 2008+ build from 7/9/2012. 2.1.3-pre


Issue Links:
Depends
Assigned Teams:
Sharding
Operating System: ALL
Participants:

 Description   

Create a mongos.conf
configdb = localhost:30000
logpath = c:\data\mongos.log
serviceName = TestMongoS
serviceDisplayName = Modified Service Name
serviceDescription = Modified Service Description

Now install the service with mongos.conf --install --config mongos.conf (note mongos.conf is in current directory)

The service succeeds in installing but net start TestMongoS would fail. We need to convert any relative paths for the config to absolute path.


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