Hi Friends problem with mongod -f /etc/mongod.conf

I don’t understand why mongod always get problem of automatic process shutdown mongod -f /etc/mongod.conf once it has been created successfully. Error at In admin level.

Otherwise it go to undefined loop to to make it forcefully active this for time being I use nohup ,but that’s not good solution.Again!,Same problem of process termination.

I am literally fed up with this regular error I am working in production environment .

Please any one have idea n suggestion kindly help me to solve.

mongod -f /etc/node8.conf
about to fork child process, waiting until server is ready for connections.
forked process: 23024

Thank you.

If you do not have any error then mongod started correctly.

Hi @Nagesh_46115,

If your mongod doesn’t launch successfully and you are not able to see the error either, remove the following lines from your config file:

fork: true

Then, if you launch mongod, you will be able to see the error.

In case you need help in resolving the error, please share the screenshot of the error message and the configuration file.