Thank you Scott, I believe that was the issue.
Though now I have one other question. I have set up the keyFile on
both the app server(Windows Server 2008) and on the DB server (Linux
CentOS 6.0). The documentation states that the file can only be read
by the current user. So is that saying that the user that started each
process on the different servers must be the same? The owner of the
directory/files on the Linux box is one user, the executor of the
mongos process on the Windows box is another user. Is this a problem?
I'm assuming that it is, due to the log file on the app server, which
I have posted below:
Wed Feb 08 22:18:55 c:\mongodb\bin\mongos.exe db version v2.0.2,
pdfile version 4.5 starting (--help for usage)
Wed Feb 08 22:18:55 git version:
514b122d308928517f5841888ceaa4246a7f18e3
Wed Feb 08 22:18:55 build info: windows (6, 1, 7601, 2, 'Service Pack
1') BOOST_LIB_VERSION=1_42
Wed Feb 08 22:18:55 config string : ommited
Wed Feb 08 22:18:55 creating new connection to:omitted
Wed Feb 08 22:18:55 BackgroundJob starting: ConnectBG
Wed Feb 08 22:18:55 connected connection!
Wed Feb 08 22:18:55 calling onCreate auth for DEV-VM-omitted:27019
Wed Feb 08 22:18:55 User Assertion: 15847:can't authenticate to shard
server
uncaught exception in mongos main:
15847 can't authenticate to shard server
CursorCache at shutdown - sharded: 0 passthrough: 0
Please let me know what you think.
Thanks,
Erik
> > > For more options, visit this group athttp://
groups.google.com/group/mongodb-user?hl=en.-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -