Problem of automatic termination of 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.

Did not understand what problem you are facing
We use --fork and mongod runs in the background
It continues to run till we kill the process or shutdown it

Everytime you run a mongod with a new config file a new mongod will be started
You have put the output of starting mongod on node8
What is wrong with it?Not clear

Thank for response sir,

"It continues to run till we kill the process or shutdown it"

Its not properly working in my case.:thinking::thinking:

After some period of time this process automatically get terminated what’s the reason why it’s happening so,I don’t understand.


First of all, this is a general question and not relevant to this class. Therefore I would strongly recommend that you post this on something like StackOverflow to get an answer, not here.

Second, the problem looks to be with your local setup. Get your *nix admin to look into this.