Course M103: lab configuration

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

storage:
  dbPath: "/data/db"
systemLog:
  destination: "file"
  path: "/data/mongod.log"
replication:
  replSetName: M103
net:
  bindIp: localhost
  port: 27000
security:
 keyFile: "/data/keyfile"
processManagement:
  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.
sh-4.4# 

What am I missing or got wrong

Please post it under University forum
https://www.mongodb.com/community/forums/c/M103

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.