MongoDB won't start!

Hi, I was about to install MongoDB when this came up:

Started MongoDB Database Server.
mongod.service: Main process exited, code=killed, status=4/ILL
mongod.service: Failed with result ‘signal’.

ILL means illegal operation
May be your CPU not supporting the mongodb you are installing
What is your os?
Check this link.Also search our forum threads

2 Likes

Well I have a local VM running Linux Debian 11

Followed the instructions on: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-debian/

When I get to:

sudo systemctl start mongod

then:

sudo systemctl status mongod

I get:

mongod.service - MongoDB Database Server
     Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
     Active: failed (Result: signal) since Thu 2023-03-09 08:57:26 AEDT; 10s ago
       Docs: https://docs.mongodb.org/manual
    Process: 3759 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
   Main PID: 3759 (code=killed, signal=ILL)
        CPU: 20ms

Mar 09 08:57:26 debian systemd[1]: Started MongoDB Database Server.
Mar 09 08:57:26 debian systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
Mar 09 08:57:26 debian systemd[1]: mongod.service: Failed with result 'signal'.

The machine I am trying to install on is:
MeEL Q2Q with Celeron J4125 processor
8GB RAM
and a clean install of Debian 11 from debian.org loaded onto an SSD connected via USB.

The J4125 is (I think) a “Gemini Lake Refresh” which is circa Nov 2019.
Tiger Lake is circa Sep 2020.
Is MongoDB really failing because I’m trying to install on a 3-year-old Intel box???

This CPU likely does not meet the minimum requirements for MongoDB 5.0+ you should be fine running 4.4 though.

See the platform support in the production notes linked in @Ramachandra_Tummala’s post.

Thanks @chris however I am installing MongoDB as part of a single node install of Graylog and that requires MongoDB 5.x or 6.x - see:
https://go2docs.graylog.org/5-0/downloading_and_installing_graylog/debian_installation.htm?tocpath=Downloading%20and%20Installing%20Graylog|Installing%20Graylog|_____4

Is ther no way I can get MongoDB MongoDB 5.x or 6.x working on this Celeron J4125 box?

Build from source. Personally I have not seen anybody do this and report back.

IIRC Graylog requires very little from MongoDB and the heavy duty portion falls to elastic search. As another option a M0 instance on MongoDB Atlas would likely be adequate

Thanks @chris - I have seen references to building from source but have not seen reports of successfully doing that. Even if it were to work, I’d be worried that would then become a requirement for upgrades. Thinking I’ll try and get another box to install MongoDB / Graylog onto.

1 Like

Dude, MariaDB, Redis and PostgreSQL don’t care which CPU you use! Why MongoDB?