message log meaning

125 views
Skip to first unread message

Martinus Martinus

unread,
May 7, 2012, 12:19:06 AM5/7/12
to mongod...@googlegroups.com
Hi,

What does the meaning of this message log :

Mon May  7 12:17:11 [slaveTracking] update local.slaves query: { _id: ObjectId('4f8537e3ff2adf74f0e6f534'), host: "192.16.2.1", ns: "local.oplog.rs" } update: { $set: { syncedTo: Timestamp 1336358545000|1 } } fastmodinsert:1 exception: E11000 duplicate key error index: local.slaves.$_id_  dup key: { : ObjectId('4f8537e3ff2adf74f0e6f534') } code:11000 240ms

Thanks.

Eliot Horowitz

unread,
May 7, 2012, 11:16:03 PM5/7/12
to mongod...@googlegroups.com
That's an internal error that shouldn't be a problem.
Did you recently upgrade?

To get rid of, you can do:
use local
db.slaves.remove( {} )
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.

Martinus Martinus

unread,
May 7, 2012, 11:55:02 PM5/7/12
to mongod...@googlegroups.com
Hi Eliot,

Thanks for your answer. No, I haven't upgrade my mongodb.

Thanks.

Martinus Martinus

unread,
May 8, 2012, 3:23:28 AM5/8/12
to mongod...@googlegroups.com
Hi Eliot,

I tried to run that command on mongos shell, but it gave me this error message :

Tue May  8 15:22:41 uncaught exception: error: { "$err" : "can't use 'local' database through mongos", "code" : 13644 }

Thanks.

Nat

unread,
May 8, 2012, 3:25:19 AM5/8/12
to mongod...@googlegroups.com
U hv to connect directly instead of via mongos
From: Martinus Martinus <marti...@gmail.com>
Date: Tue, 8 May 2012 15:23:28 +0800
Subject: Re: [mongodb-user] message log meaning

Martinus Martinus

unread,
May 8, 2012, 3:48:21 AM5/8/12
to mongod...@googlegroups.com
Hi Nat,

Thanks for your answer.

Thanks.
Reply all
Reply to author
Forward
0 new messages