I have changed the path and it is showing under /shared/mongod.cfg file but the validate command is saying path has an issue. Below are the contents of the config file


As previously advised in your other thread, it’s against forum rules to post possible answers on here.

Please remove the contents of your config file from your post.


I have remove the contents


Have a look at the path in the error message and compare it with what you have:

Lab exercise is to change the path. which option is not part of the lab, please guide??

Your task for this lab is to change the config file such that:

  • mongod sends logs to /var/mongodb/db/mongod.log

Look at what you have:
Can you see the difference between what you have and the requirement?

my bad …thank you………

Very good! :slight_smile: :+1: