Not able to start up replicate set in windows

I keep getting the below error while running the .sh file provided in my command line. I don’t know what i am doing wrong

Hey @Nazehs

Should you be inside the VM first?

Have you run vagrant ssh?

Hi Natac,
Kindly see the below screen pls.

Hey @Nazehs

You will have to set the correct permission on the key file

Run

chmod 400 /path/to/key/file

and try again

Here is some docs to help
https://docs.mongodb.com/manual/tutorial/deploy-replica-set-with-keyfile-access-control/index.html#create-a-keyfile

1 Like