Impossible to start mongoDB ubuntu server 20.04.03 LTS on Raspberry Pi 4

Hello,
I just followed the offical tutorial Doc and when i try to start mongod i got this :

ubuntu@ubuntu:~$ systemctl status mongod
● mongod.service - MongoDB Database Server
     Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
     Active: failed (Result: core-dump) since Thu 2021-09-02 21:51:39 UTC; 14s ago
       Docs: https://docs.mongodb.org/manual
    Process: 1859 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=dumped, signal=ILL)
   Main PID: 1859 (code=dumped, signal=ILL)

Sep 02 21:51:36 ubuntu systemd[1]: Started MongoDB Database Server.
Sep 02 21:51:39 ubuntu systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
Sep 02 21:51:39 ubuntu systemd[1]: mongod.service: Failed with result 'core-dump'.

Can someone help me ?
it’s an install from scratch i just installed ubuntu 20.04.03 few minutes ago and followed the official doc step by step :confused:

Hi @Badis_H

Relevant for the 5.0 release are the changes in supported cpu microarchitectures. If MongoDB 4.4 runs and 5.0 does not this is likely the issue.


x86_64

MongoDB requires the following minimum x86_64 microarchitectures: [2]

  • For Intel x86_64 , MongoDB requires one of:
    • a Sandy Bridge or later Core processor, or
    • a Tiger Lake or later Celeron or Pentium processor.
  • For AMD x86_64 , MongoDB requires:
    • a Bulldozer or later processor.

[2] MongoDB 5.0 requires use of the AVX instruction set, available on select Intel and AMD processors.

i tryed to run it on a raspberry pi 4 with Ubuntu serveur

processor of raspberry pi 4 is :

Broadcom BCM2711, quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz.

There has been a previous thread on Rpi4, it does not meet requirements for v5.0+.

https://www.mongodb.com/community/forums/search?q=raspberry%20pi%20crash

Hi @Badis_H,

As @chris noted, Raspberry Pi 4 unfortunately does not meet the CPU microarchitecture requirements for MongoDB 5.0 binary packages. MongoDB 4.4 packages are currently the last supported release series for RPi 4; you also have the option of building from source (ideally cross-compiling in a more capable environment).

Please see Core dump on MongoDB 5.0 on RPi 4 - #13 by Jan-Felix_Abellera for relevant discussion.

Thanks,
Stennie

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.