Error when initialize mongos

49 views
Skip to first unread message

André Pereira

unread,
Jan 30, 2015, 10:38:51 AM1/30/15
to mongod...@googlegroups.com
Hi, 
I'm new at mongodb, and im trying to implement a shard cluster. 

Im have three config servers runnig at localhost:27027, localhost:27028, localhost:27029.

But when I try to start a mongos instance with the command: mongos --configdb localhost:27027,localhost27028,localhost27029 i get an error, "Error parsing command line: too many positional options". I don't know what is the problem.

However if I start mongos with only one config server its works: mongos --configdb localhost:27027.

Anyone can help me with this?

Thanks a lot

Paulo Pereira

skif...@gmail.com

unread,
Jan 31, 2015, 2:16:40 AM1/31/15
to mongod...@googlegroups.com
Your command looks like it's invalid. Please change > mongos --configdb localhost:27027,
localhost27028,localhost27029

to

> mongos --configdb localhost:27027,
localhost:27028,localhost:27029

Please try again and let us know if this resolves your issue.
Reply all
Reply to author
Forward
0 new messages