Graylog 5 install help - MongoDB not supported? Any ideas appreciated.

New to Graylog. Looking to install on single node on my home network.

First thought was to install on a spare Raspberry Pi 4B 8GB I have.
Saw the instructions here: Docker Compose on Raspberry Pi4 - YouTube from Jeff Darrington and Aaron Sachs from Graylog. Unfortunately, this is v4.3 only not v5. I"m also keen to use Opensearch.
So no dice there.

Acquired a Celeron-based PC and loaded Debian 11. Followed the instructions here: Debian installation

Ran into issues with MongoDB. 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 a MeEL Q2Q with Celeron J4125 processor w/ 8GB RAM and a clean install of Debian 11

The J4125 is (I think) a “Gemini Lake Refresh” which is circa Nov 2019. Tiger Lake is circa Sep 2020. Reading this post: New to graylog having difficulty installing mongodb and the linked MongoDB doc: https://www.mongodb.com/docs/manual/administration/production-notes/ seems to indicate the isue is that the (3 year old) processor in my PC does not supported.

Is MongoDB really failing because my processor is not supported?
The PC is brand new, out of shrink wrap and I got it specifically to install and run Graylog.

Any help or advice would be appreciated.

Mongo 5 has AVX CPU requirements.

Check google for information about your specific processor. Some processors have the ability to run in an AVX compatibility mode. Others have found workarounds for certain processors.

I’m very sorry for the inconvenience, but MongoDB is a separate product from a different company. Graylog has no input into the decisions they make.

Hey @silly_fruit_salad

I have the same issue, what I did was install mongoDb-4 with Graylog 5, Opensearch 2.5 on ubuntu 20.0.4

Since this is your home lab then you probably can do this.

I added this line in Graylog configuration file.

skip_preflight_checks = true

Thanks, @gsmith will give that a go.

1 Like

That works! Thanks so much!

FYI anyone else who has the same issue.

1 Like

awesome-yes-will-ferrell (1)

I also have other Graylog hacks :wink: but not for production environemnts