Course M103: lab configuration

in the M103 university course in the IDE, I have updated mongod.conf file with following details

  dbPath: "/data/db"
  destination: "file"
  path: "/data/mongod.log"
  replSetName: M103
  bindIp: localhost
  port: 27000
 keyFile: "/data/keyfile"
  fork: true

the minimum requirements are

  • run on port 27000
  • authentication is enabled

when I run mongod -f mongod.conf OR mongod --config mongod.conf file keep getting below message

sh-4.4# mongod --config mongod.conf                                                          
about to fork child process, waiting until server is ready for connections.
forked process: 398
ERROR: child process failed, exited with error number 1
To see additional information in this output, start without the "--fork" option.

What am I missing or got wrong

Please post it under University forum

Did you run without fork as suggested in the error?
Make sure dbpath,logpath,keyfile path exist

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.