-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 5.0.4
-
Component/s: None
-
Server Triage
-
ALL
-
- Install mongodb 5.0 using apt and following the steps in the Installation Documentation.
- run "sudo systemctl start mongod"
Hello.
Recently I've installed mongodb-org version 5.0 and it seems to be failing completely after install. I followed every step for installing the mongodb-org package from the mongo apt repository. The only problem is that according to the mongodb installation instructions:
"If you installed via the package manager, the data directory /var/lib/mongodb and the log directory /var/log/mongodb are created during the installation."
but the log directory is never installed.
Because of this, mongod fails to start every time.
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor prese>
Active: failed (Result: exit-code) since Sat 2021-11-27 08:11:41 CST; 5min>
Docs: https://docs.mongodb.org/manual
Process: 54490 ExecStart=/usr/bin/sudo /usr/bin/mongod --config /etc/mongod>
Main PID: 54490 (code=exited, status=1/FAILURE)