Hello,
I installed mongodb according to https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/ on ubuntu 20.04. I adhered the guide and did not change any configuration files or anything else. Now, when I run “sudo systemctl start mongod” the terminal just executes the command but no output is produced. Running “sudo systemctl status mongod” gives:
mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-03-27 15:18:13 CEST; 19s ago
Docs: https://docs.mongodb.org/manual
Process: 54971 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=14)
Main PID: 54971 (code=exited, status=14)
Can somebody tell me what I have done wrong? Many thanks!