-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.2.0-rc0
-
Component/s: Sharding
-
None
-
Environment:mongo/mongos 2.1.3-pre build from 7/9. Windows 2008+ build running on Windows 7 with
-
Sharding
-
ALL
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
1) Run c:\mongo\mongodb-win32-x86_64-2008plus-2012-07-09\bin>mongod.exe --logpath c:\data\mongod.log --port 30000 to be config server
2) Run c:\mongo\mongodb-win32-x86_64-2008plus-2012-07-09\bin>mongos.exe --configdb localhost:30000 --logpath c:\data\mongos.log
3) Now connect mongo.exe to mongos. In the shell
mongos> db.runCommand("logRotate")
Mon Jul 09 22:03:40 uncaught exception: error
Once I add a shard to the setup if I run mongos> db.runCommand("logRotate")
{ "ok" : 0, "errmsg" : "access denied - use admin db" }This is as expected.