Launching Mongod

lab 1 : failed to open “/data/log/monogd.log”
how to resolve this error.

The directory /data/log/ must exist.

done… had to delete many files, clear directories and was able to execute the command.

image

This is the error i get. unable to validate the lab.
Configuration file looks like this and seems to be fine.
image
commandline works well and no issue. able to login with the created user id and password.


@Kanika _ please assist

Hi Vijaya_21736,

The only difference I am able to see is “keyfile”, please remove security portion in the configuration file.

Try again and let me know.

Kanika

thanks… i did it. The log files helped me. Thanks a lot. It worked well.
What is the use of the keyfile?