3

I tried to install mongodb last week for an unrelated project and now whenever I try to sudo apt-get install any other package I get an error that says:

 * Starting database mongodb            [fail]

How did my mongodb install mess with apt-get, how can I resolve the issues so I can successfully install packages?

Adam C
  • 1,929

1 Answers1

1

Try removing MongoDB:

sudo apt-get remove mongodb

Alternatively, check to see what the MongoDB logs say about the reason for the failure to start and fix it so the failure no longer happens. The logs are usually to be found in /var/log/mongodb/mongodb.log. Some common problems:

You may have other issues, of course, but these are good starting points.

Adam C
  • 1,929