OK, I’m in trouble again:
vagrant@m103:~$ mongod --config /shared/mongod.conf
about to fork child process, waiting until server is ready for connections.
forked process: 2663
ERROR: child process failed, exited with error number 100
To see additional information in this output, start without the "--fork" option.
My config file:
net:
bindIp: "192.168.103.100, localhost"
port: 27000
operationProfiling:
mode: "slowOp"
slowOpThresholdMs: 50
processManagement:
fork: true
security:
authorization: enabled
storage:
dbPath: "/var/mongodb/db/"
systemLog:
destination: "file"
logAppend: true
path: "/var/mongodb/db/mongod.log"
If I take off processManagement: fork: true
:
vagrant@m103:~$ mongod --config /shared/mongod.conf
vagrant@m103:~$ validate_lab_different_logpath
You need to bind the IP address `127.0.0.1` or `localhost`