How to Create Master & Slave Setup on Mongodb by Two Different Servers?

Hi Saravanaprasad_k,

Could you check if a few lines above the message, you find something like “Permissions on {keyfile-path} are too open.”

If that’s the case, then you just need to set the mode:

chmod 400 {keyfile-path}

It is stated that the keyfile should not be group and world visible (hence need the 400 mode in Linux/Unix).

Let me know if this works.

1 Like