Lab 3 : Logging to a different facility - child process failed

I tried changing the log destination to /var/mongodb/db/mongod.log ,
but i get an error that goes like " child process failed, exited with error number 51"

On a simple google search, figured that it was some permission issue , and could be fixed by
chown . I tried but couldn’t get the result. The error is still there.


This is my config file

After changing the log path in the config file, did you shutdown and restart the mongod?
Also share the output of this command:
use admin
db.runCommand({getCmdLineOpts: 1}).parsed

Thanks for your reply.
i shutdown the server and tried again .
It worked.

Closing this thread as the issue has been resolved.