Setting up MongoDB v5.0 on Ubuntu 20: "core-dump: STATUS 4/ILL"

Hi @Philipp_Kolbe,

Thanks for the further info. This is apparently a KVM environment with some host CPU features masked via the “Common KVM processor” virtualised CPU exposed to the VM.

The host Xeon CPU may have the required features, but the VM’s CPU does not support instructions required by MongoDB 5.0 (such as AVX and SSE) which should be listed in the CPU flags:

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr

Some options to consider are:

  • try installing the MongoDB 4.4 server packages (they target older CPU microarchitectures)

  • upgrade your VM or hosting to support the required server extensions

  • compile MongoDB 5.0 from source using older architecture tags (this may be tricky given your virtual CPU seems to have limited instruction support)

Regards,
Stennie

3 Likes