Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
None
-
None
-
Amazon Linux AMI release 2015.09
Kernel \r on an \m
Mongo 3.2
*Location*: https://docs.mongodb.com/v3.2/tutorial/enforce-keyfile-access-control-in-existing-replica-set/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
*Referrer*: https://www.google.com/
*Screen Resolution*: 1920 x 1080
Amazon Linux AMI release 2015.09 Kernel \r on an \m Mongo 3.2 *Location*: https://docs.mongodb.com/v3.2/tutorial/enforce-keyfile-access-control-in-existing-replica-set/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0 *Referrer*: https://www.google.com/ *Screen Resolution*: 1920 x 1080
Description
"chmod 400 <path-to-keyfile>" is incorrect. When using 400 permission for the keyfile, the nodes are unable to join as a cluster.
I had to use chmod 600 in order for the nodes to join as a cluster.