First installation

Hello every body I’m new one in the MongoDB world, this is my first installation I’m using Python Linux/Debian bookworm, and I’m getting this error.

sudo systemctl status mongod
× mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; preset: enabled)
Active: failed (Result: signal) since Sun 2024-01-21 20:46:06 CET; 12min ago
Duration: 73ms
Docs: https://docs.mongodb.org/manual
Main PID: 30805 (code=killed, signal=ILL)
CPU: 29ms

gen 21 20:46:05 debian systemd[1]: Started mongod.service - MongoDB Database Server.
gen 21 20:46:06 debian systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
gen 21 20:46:06 debian systemd[1]: mongod.service: Failed with result ‘signal’.

Thanks a lot every body

Hi @Guilherme_Caponi

Exiting with an Illegal signal (signal= ILL) often means that an incompatible system is being used to run MongoDB. Check the Platform Support Notes for supported system architectures.

ref: https://www.mongodb.com/docs/manual/administration/production-notes/#platform-support-notes

2 Likes

Tks by the answer, in that link you send has this grid

Platform Support Matrix

Platform Architecture Edition 7.0 6.0 5.0 4.4
Amazon Linux 2023 x86_64 Enterprise
Amazon Linux 2023 x86_64 Community
Amazon Linux V2 x86_64 Enterprise
Amazon Linux V2 x86_64 Community
Debian 12 x86_64 Enterprise
Debian 12 x86_64 Community

As you can see the last version of mongoDb 7.0 support Debian 12 (that I’m using…)

Hi @Guilherme_Caponi,
The problem may be related to the fact that the avx instruction set is not present.
From the documentation:

Regards

1 Like

TKS by the answer but my processor do not support AVX, only SSE4.1 e SSE4.2.

Intel Celeron N4000

You can use 4.4 (EoL end of February 2024). Otherwise you may be able to build from source for a more recent version.

Of course MongoDB Atlas is available too: https://www.mongodb.com/docs/atlas/

2 Likes

It should change the operating system, because Debian 12 is not supported by mongo 4.4 :scream:.
But as suggested from @chris, you can create a free cluster on MongoDB Atlas!

2 Likes

A did the installation of 7.0 version, i think this one should be more compatible with Debian 12, Am I wrong ?? Otherwise how can I install the 4.4 ?

No compatible 4.4 for Debian 12, I missed that in your post sorry.

4.4 could be run in a compatible container though.

1 Like

I think this can be the problem… sorry but I’m Italian…

sudo apt-get dist-upgrade
Lettura elenco dei pacchetti… Fatto
Generazione albero delle dipendenze… Fatto
Lettura informazioni sullo stato… Fatto
Calcolo dell’aggiornamento… Fatto
I seguenti pacchetti sono stati mantenuti alla versione attuale:
mongodb-org-mongos mongodb-org-server
0 aggiornati, 0 installati, 0 da rimuovere e 2 non aggiornati.

And Then…

sudo apt-get install --only-upgrade mongodb-org-mongos
sudo apt-get install --only-upgrade mongodb-org-server
Lettura elenco dei pacchetti… Fatto
Generazione albero delle dipendenze… Fatto
Lettura informazioni sullo stato… Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
mongodb-org-mongos : Dipende: libssl1.1 (>= 1.1.1) ma non è installabile
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.
Lettura elenco dei pacchetti… Fatto
Generazione albero delle dipendenze… Fatto
Lettura informazioni sullo stato… Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
mongodb-org-server : Dipende: libssl1.1 (>= 1.1.1) ma non è installabile
E: Impossibile correggere i problemi, ci sono pacchetti danneggiati bloccati.