From ArchWiki
Jump to: navigation, search


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

--Klay (talk) 02:25, 1 April 2013 (UTC)

The file is not clean up because the mongod daemon is not exit normally. Manual check and repair is needed here. --Fengchao (talk) 09:29, 15 December 2016 (UTC)

boost-libs dependency

Why is the boost-libs dependency version not restricted?

Pallly (talk) 12:56, 12 November 2015 (UTC)

Old issue that should be already fixed. Close. --Fengchao (talk) 09:29, 15 December 2016 (UTC)

Installation space/time

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.
... (talk) 14:56, 21 April 2016 (UTC)

The exact space size and time could be removed from page. --Fengchao (talk) 09:10, 5 August 2016 (UTC)
Remove 3G size note. Close. --Fengchao (talk) 09:20, 15 December 2016 (UTC)