A
A
Artem Prokhorov2021-12-05 13:39:22
MongoDB
Artem Prokhorov, 2021-12-05 13:39:22

Why MongoDB doesn't start on VPS and how to fix it?

[email protected]:/# sudo systemctl status mongod
● mongod.service - MongoDB Database Server
     Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
     Active: failed (Result: signal) since Sun 2021-12-05 10:29:44 UTC; 4min 33s ago
       Docs: https://docs.mongodb.org/manual
    Process: 12766 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
   Main PID: 12766 (code=killed, signal=ILL)

Dec 05 10:29:44 vm-e36ee522 systemd[1]: Started MongoDB Database Server.
Dec 05 10:29:44 vm-e36ee522 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
Dec 05 10:29:44 vm-e36ee522 systemd[1]: mongod.service: Failed with result 'signal'.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-12-05
@kotcich

Run by hand:

sudo -u <здесь имя пользователя mongo> /usr/bin/mongod --config /etc/mongod.conf
See what comes up. Or read error.log - the reason will be written there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question