我的mongo已停止运行:
$ sudo systemctl status mongodb.service
● mongodb.service - High-performance, schema-free document-oriented database
Loaded: loaded (/usr/lib/systemd/system/mongodb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2018-01-05 02:26:08 GMT; 8min ago
Process: 27887 ExecStart=/usr/bin/mongod --quiet --config /etc/mongodb.conf (code=exited, status=1/FAILURE)
Main PID: 27887 (code=exited, status=1/FAILURE)
Jan 05 02:26:08 localhost systemd[1]: Started High-performance, schema-free document-oriented database.
Jan 05 02:26:08 localhost systemd[1]: mongodb.service: Main process exited, code=exited, status=1/FAILURE
Jan 05 02:26:08 localhost systemd[1]: mongodb.service: Unit entered failed state.
Jan 05 02:26:08 localhost systemd[1]: mongodb.service: Failed with result 'exit-code'.
我想可能它的空间不足了:
$ df -h /var/lib/mongodb/
Filesystem Size Used Avail Use% Mounted on
/dev/root 38G 38G 0 100% /
我该如何解决这个问题?我们可以增加它的大小吗?
我在Arch Linux上。