bash-4.4# mongod -f mongod.conf
about to fork child process, waiting until server is ready for connections.
forked process: 346
child process started successfully, parent exiting
Test Result –
2 total, 0 passed, 0 skipped:
[FAIL] “Mongod was started with the new logpath”
Did you launch mongod with the logpath /var/mongodb/logs/mongod.log?
[FAIL] “Mongod process was forked”
Did you modify your mongod configuration to fork the process?
Can anybody guide what’s wrong? I have given the logpath as mentioned in the problem statement.