Trying to configure Graylog , unable to finish as unable to install MongoDB 5 on (Oracle Virtual Box 7) Ubuntu 20.04 LTS Focal "Main process exited, code=dumped, status=4/ILL"

I have spent 3 hours trying unsuccessfully to install MongoDB 5 on my Ubuntu 20.04 box (Virtual Box 7), regardless of what I try it fails.

I have uninstalled, reinstalled multiple times, followed this: Setting up MongoDB v5.0 on Ubuntu 20: "core-dump: STATUS 4/ILL" - #4 by Stennie_X , installed Mongo v 4 and it ended up showing as Active, however Graylog failed to work properly as it says it need Mongo version 5 installed:

ERROR [ServerBootstrap] Preflight check failed with error: You’re running MongoDB 4.4.22 but Graylog requires at least MongoDB 5.0.0. Please upgrade.

  • 2023-06-02T03:21:31.252Z ERROR [CmdLineTool] Startup error:
  • Wet ahead and upgraded, success

I have tried installing Mongo 6, finish, same error as below:

When I try: sudo systemctl status mongod, I get:

● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Fri 2023-06-02 03:49:41 UTC; 6s ago
Docs: https://docs.mongodb.org/manual
Process: 4153 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=dumped, signal=ILL)
Main PID: 4153 (code=dumped, signal=ILL)

Jun 02 03:49:41 cislogs systemd[1]: Started MongoDB Database Server.
Jun 02 03:49:41 cislogs systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
Jun 02 03:49:41 cislogs systemd[1]: mongod.service: Failed with result ‘core-dump’.
~

My cpu info is as follows

cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 140
model name : 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz
stepping : 1
microcode : 0xffffffff
cpu MHz : 2803.200
cache size : 12288 KB
physical id : 0
siblings : 3
core id : 0
cpu cores : 3
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 movbe popcnt aes rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ibrs_enhanced fsgsbase bmi1 bmi2 invpcid rdseed clflushopt md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs retbleed eibrs_pbrsb
bogomips : 5606.40
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 140
model name : 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz
stepping : 1
microcode : 0xffffffff
cpu MHz : 2803.200
cache size : 12288 KB
physical id : 0
siblings : 3
core id : 1
cpu cores : 3
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 movbe popcnt aes rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ibrs_enhanced fsgsbase bmi1 bmi2 invpcid rdseed clflushopt md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs retbleed eibrs_pbrsb
bogomips : 5606.40
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 140
model name : 11th Gen Intel(R) Core™ i7-1165G7 @ 2.80GHz
stepping : 1
microcode : 0xffffffff
cpu MHz : 2803.200
cache size : 12288 KB
physical id : 0
siblings : 3
core id : 2
cpu cores : 3
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 22
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 movbe popcnt aes rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ibrs_enhanced fsgsbase bmi1 bmi2 invpcid rdseed clflushopt md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs retbleed eibrs_pbrsb
bogomips : 5606.40
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

Any advice or help regarding this would be greatly appreciated. Thank you.

Boosting this, is anyone available to help me troubleshoot?

Boosting again , please help can someone look at my processor log and tell me if my cpu is capable of running this software or not?

Another user got the same error with Graylog configuration
Does your cpu support AVX2 instruction set?
Check compatibility matrix

I have a problem with mongodb

1 Like

My cpu is 11th gen intel core i7 1165G7 @ 2.80GHz , so Tiger Lake. I assumed this was compatible based on the hardware requirements. I’m not sure how to check AVX2 instruction set ill look into it further though…

I just tried installing Mongodb 4 and it worked. Mongo 5 and 6 do not work on my Ubuntu 18 / 20 distros and give me the same core dump error when i restart the service and check status via systemctl. However I’m trying to setup a graylog server and its newer versions require mongo5 so im in a bit of a bind…

Here is my processer:

And here is the cpus which cover this from the article:

CPUs with AVX

*** [Tiger Lake] (Core, Pentium and Celeron branded[[11]] processors, Q3 2020**

Based on my research , my core intel cpu would be tiger lake.
I don’t see why mine shouldn’t work in this case. Maybe it’s an issue with the VirtualBox CPU settings?