> Command_Prompt_Blog \
  • Home
  • Acronyms
  • Cheat-Sheets
  • User Manuals

Error

How to fix connection timeout problem with MongoDB

Some of us have encountered a problem problem right after installing MongoDB, turns out we can't connect. I personally get this: root@ghost:~# mongo MongoDB shell version v4.2.8 connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb 2020-10-30T12:10:51.955+0100
Hec P. 30 Oct 2020

How to solve "mongod.service main process exited code=exited status=100/n/a"

For me, this did the trick: chown -R mongodb:mongodb /data Source: - https://stackoverflow.com/questions/45691032/mongod-service-start-exits-with-code-100
Hec P. 22 Oct 2020

How to solve "mongod.service: Main process exited, code=exited, status=14/n/a"

For me this did the trick: chown mongodb:mongodb /tmp/mongodb-27017.sock More about this, in the link below. Source: - https://askubuntu.com/questions/823288/mongodb-loads-but-breaks-returning-status-14
Hec P. 22 Oct 2020
> Command_Prompt_Blog \ © 2026. Powered by Ghost