Mongod not starting, status showing active running


First, check if you can connect typing mongo on the CLI. The output implies there is something already running on 27017. ( You’re probably initiating the server twice. )

If it does not work, do this:

  1. Go to /tmp/
  2. Remove mongodb-27017.sock
  3. Restart the service