Logging into a different facility

I have been facing an issue with this lab. Not sure about what was going wrong, but anyone could figure it out that would be a big help.
config file:
dbPath: /var/mongodb/db
bindIp: localhost
port: 27000
authorization: enabled
destination: file
logAppend: true
path: /var/mongodb/logs/mongod.log

You are missing one of the lab requirement:

mongod is forked and run as a daemon (this will not work without specifying logpath)

why i am getting error
if any one knows plz help…
is my mongod.conf is right

can u help me out…

Nobody can help you more than what the message is telling you.

To see additional information in this output, start without the “–fork” option.

can u show your ans with steps…

Never. We are here to learn.

Give a man a fish and you feed him for a day, teach a man to fish and you feed him for the rest of his life.

So I repeat:

And the lab starts with:

Use a configuration file to store log files in a new location:

  1. Update your configuration file such that:

It implicitly means that you have to start mongod with the configuration. If you are not sure how to use the configuration file to start mongod, I repeat

Hint: there is a missed configuration, not only log configuration is need it.

Are you a mongo employee?

No, why? Is it important?

1st window:

mongod –port 27000 --auth --config mongod.conf --logpath /var/mongodb/logs/mongod.log --fork

2dn window:
mongo admin --host localhost:27000 --eval ’
user: “m103-admin”,
pwd: “m103-pass”,
roles: [
{role: “root”, db: “admin”}

as a config file:
There are two different sections to add in the config file in order to complete this lab. The first is the systemLog section:

destination: file
path: /var/mongodb/logs/mongod.log
logAppend: true

fork: true

If your configuration file already specifies another log path, forking information and port number. You should not specify them in the command line. In addition for this lab, you are supposed to only use the configuration file.