This action (and check/condition) should be in systemd service:
If the are there stop the mongodb daemon delete the file after it star the daemon again
# rm /var/lib/mongodb/mongod.lock
Why is the boost-libs dependency version not restricted?
I just installed and got these results for space:
# du --summarize --human --apparent-size /var/lib/mongodb/ 301M /var/lib/mongodb/ # du --summarize --human /var/lib/mongodb/ 222K /var/lib/mongodb/
I didn't time it but the installation time was negligible. I ran the start and status commands back to back and it had been running for 6 seconds by the time I had changed start to status and hit enter
# systemctl start mongodb # systemctl status mongodb ● mongodb.service - High-performance, schema-free document-oriented database Loaded: loaded (/usr/lib/systemd/system/mongodb.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2016-04-21 17:34:33 EEST; 6s ago Main PID: 6123 (mongod) Tasks: 16 (limit: 512) CGroup: /system.slice/mongodb.service └─6123 /usr/bin/mongod --quiet --config /etc/mongodb.conf
Immediately after that in a user shell I was able to bring up the MongoDB shell
$ mongo MongoDB shell version: 3.2.3 connecting to: test Welcome to the MongoDB shell. ...