Mongod does not start (mongod.service: Failed with result 'signal')

Viewed 1555

After command sudo service mongod start && sudo service mongod status

● mongod.service - MongoDB Database Server
   Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
   Active: failed (Result: signal) since Wed 2021-08-18 11:58:29 MSK; 4s ago
     Docs: https://docs.mongodb.org/manual
  Process: 13899 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
 Main PID: 13899 (code=killed, signal=ILL)

авг 18 11:58:29 400sk systemd[1]: Started MongoDB Database Server.
авг 18 11:58:29 400sk systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
авг 18 11:58:29 400sk systemd[1]: mongod.service: Failed with result 'signal'.

Does not write logs in /var/logs

Debian 10, try MongoDB 4.2 and 5.0, Intel(R) Xeon(R) E5540 @ 2.53GHz

Installation from official site (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/)

2 Answers

Make sure libmkl-dev and lib-avx2 are installed and available on your OS. On Debian 10, these packages are in Nonfree amd64 repository. Add the repo to your /etc/apt/sources.list Enable the repo then do apt-get update followed by:

apt-get install libmkl-dev libmkl-avx2 mongodb-org
Related