You can't mix and match localhost. All or none.
> Sorry I missed the 1 "or" 3.
> However, it seems to be working with localhost. Or am I missing
> something?
> mongodb@qamongodb02:/opt/mongodb/bin> ./mongos --configdb localhost:
> 20000
> Tue Aug 31 18:20:23 ./mongos db version v1.6.1, pdfile version 4.5
> starting (--help for usage)
> Tue Aug 31 18:20:23 git version:
> 19b587d9254dd79dbaaddffabe82771fb3cd108b
> Tue Aug 31 18:20:23 sys info: SunOS fhm8e4dc.joyent.us 5.11 snv_89
> i86pc BOOST_LIB_VERSION=1_38
> Tue Aug 31 18:20:23 [websvr] web admin interface listening on port
> 28017
> Tue Aug 31 18:20:23 waiting for connections on port 27017
> Thanks
> Diptamay
> On Aug 31, 6:13 pm, Eliot Horowitz <eliothorow...@gmail.com> wrote:
>> Looks like you specified 2. You have to use 1 or 3 as it states.
>> Also - it'l complain about localhost as well - but you'll get another error
>> message about that.
>> On Tue, Aug 31, 2010 at 6:06 PM, diptamay <dipta...@gmail.com> wrote:
>>> Hi
>>> I am probably doing something stupid out here, but I can't get to run
>>> mongos with multiple config servers:
>>> mongodb@qamongodb02:/opt/mongodb/bin> ./mongos --configdb
>>> 172.20.65.160:20000,localhost:20000
>>> Tue Aug 31 18:01:23 need either 1 or 3 configdbs
>>> However, if I use a single one it works.
>>> mongodb@qamongodb02:/opt/mongodb/bin> ./mongos --configdb
>>> 172.20.65.160:20000
>>> Tue Aug 31 18:01:27 ./mongos db version v1.6.1, pdfile version 4.5
>>> starting (--help for usage)
>>> Tue Aug 31 18:01:27 git version:
>>> 19b587d9254dd79dbaaddffabe82771fb3cd108b
>>> Tue Aug 31 18:01:27 sys info: SunOS fhm8e4dc.joyent.us 5.11 snv_89
>>> i86pc BOOST_LIB_VERSION=1_38
>>> Tue Aug 31 18:01:27 [websvr] web admin interface listening on port
>>> 28017
>>> Tue Aug 31 18:01:27 waiting for connections on port 27017
>>> Any ideas?
>>> I am running v1.6.1 on a Solaris X86.
>>> Thanks
>>> Diptamay
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "mongodb-user" group.
>>> To post to this group, send email to mongodb-user@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> mongodb-user+unsubscribe@googlegroups.com<mongodb-user%2Bunsubscribe@google groups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/mongodb-user?hl=en.
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.