-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Sharding
-
Environment:Windows 7. 2008+ build from 7/9/2012
-
ALL
-
Server 2.7.5
Install mongos as a service using mongos.exe --install --logpath<> --configdb <>
Now create a config file mongos.conf
configdb = localhost:30000
logpath = c:\data\mongos.log
serviceDisplayName = Modified Service Name
serviceDescription = Modified Service Description
try to reinstall service with mongos.exe --reinstall --config mongos.conf
This fails with
Tue Jul 10 23:50:31 warning: running with 1 config server should be done only for testing purposes and is not recommended for production
Tue Jul 10 23:50:31 Trying to remove Windows service 'MongoS'
Tue Jul 10 23:50:31 Service 'MongoS' removed
Tue Jul 10 23:50:31 Trying to install Windows service 'MongoS'
Tue Jul 10 23:50:31 Error creating service: The name is already in use as either a service name or a service display name. (1078)