I installed MongoDB on a Debian VM using
apt-get from the 10gen repository. Some time after the install, I wanted to enable authentication in the configuration file, but when I ran
service mongodb restart, it stopped and refused to start again.
I am able to reproduce this reliably: every time I run
apt-get purge mongodb-10gen; apt-get install mongodb-10gen the server starts. However. when I run
service mongodb start, it says
Starting database: mongodb failed!
There is nothing written to the
mongo.log file, or any other log that I could find.