Hello,
# ps aux | grep mongo
mongodb 14772 2.0 0.9 253364 78724 ? Sl 01:10 0:01 /usr/bin/mongod —config /etc/mongod.conf
Could you check the content of the /etc/mongod.conf file if it contains the setting fork: true? This setting instructs the mongod process to fork and run in the background.
If it doesn’t contain fork: true, could you post the content of the file? There might be some other setting there that is causing this behavior.
Best regards,
Kevin