systemctl status mongod is showing me this error

  installation, mongodb, php

● mongod.service – MongoDB Database Server
Loaded: loaded (/usr/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2021-04-08 15:00:27 +05; 13min ago
Docs: https://docs.mongodb.org/manual
Process: 4834 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)
Process: 4831 ExecStartPre=/usr/bin/chmod 0755 /var/run/mongodb (code=exited, status=0/SUCCESS)
Process: 4828 ExecStartPre=/usr/bin/chown mongod:mongod /var/run/mongodb (code=exited, status=0/SUCCESS)
Process: 4825 ExecStartPre=/usr/bin/mkdir -p /var/run/mongodb (code=exited, status=0/SUCCESS)
Main PID: 5178 (code=exited, status=0/SUCCESS)

Apr 08 15:00:27 ns1.sutracomputers.com systemd[1]: Starting MongoDB Database Server…
Apr 08 15:00:27 ns1.sutracomputers.com systemd[1]: mongod.service: control process exited, code=exited status=14
Apr 08 15:00:27 ns1.sutracomputers.com systemd[1]: Failed to start MongoDB Database Server.
Apr 08 15:00:27 ns1.sutracomputers.com systemd[1]: Unit mongod.service entered failed state.
Apr 08 15:00:27 ns1.sutracomputers.com systemd[1]: mongod.service failed.

Source: Ask PHP

LEAVE A COMMENT