Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
Mongodb 2.6.4 precompiled.
Debian 7 64 bit.
*Location*: http://docs.mongodb.org/manual/tutorial/deploy-replica-set/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0
*Referrer*: http://docs.mongodb.org/manual/administration/replica-sets/
*Screen Resolution*: 1920 x 1200
*repo*: docs
*source*: tutorial/deploy-replica-set
Mongodb 2.6.4 precompiled. Debian 7 64 bit. *Location*: http://docs.mongodb.org/manual/tutorial/deploy-replica-set/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 *Referrer*: http://docs.mongodb.org/manual/administration/replica-sets/ *Screen Resolution*: 1920 x 1200 *repo*: docs *source*: tutorial/deploy-replica-set
Description
Following this tutorial brings only frustration. It's not allowing me to create a real world replication.
I have successfully created a primary node which runs with --auth. If the intended replicas are also running with --auth, I see the following error:
2014-09-17T09:42:17.675+0200 [rsStart] replSet TEMP !ok heartbeating 10.8.0.20:27017 on cfg load
2014-09-17T09:42:17.675+0200 [rsStart] replSet info 10.8.0.20:27017 : { ok: 0.0, errmsg: "not authorized on admin to execute command
", code: 13 }
I see this error in the log file of the replica.