Can't install percona-mongodb on oraclelinux and ubuntu

i followed the instructions on the percona homepage and got the results when installing on oraclelinux : Overview - Percona Server for MongoDB 5.0

then i start and get the result again

when I check in /var/log/mongo/ I don’t see anything

Screenshot_305

1 Like

Hello, anything logged in the journal?
journalctl -e -u mongod.service
you can try starting mongod process manually also to see if there’s any output

1 Like

this is what its output

Oct 13 15:08:05 vnpt.vn systemd[1]: Starting High-performance, schema-free document-oriented database...
Oct 13 15:08:06 vnpt.vn systemd-coredump[8314]: Process 8312 (mongod) of user 975 dumped core.
Oct 13 15:08:06 vnpt.vn systemd[1]: mongod.service: Control process exited, code=exited status=132
Oct 13 15:08:06 vnpt.vn systemd[1]: mongod.service: Failed with result 'exit-code'.
Oct 13 15:08:06 vnpt.vn systemd[1]: Failed to start High-performance, schema-free document-oriented database.
Oct 13 15:08:59 vnpt.vn systemd[1]: Starting High-performance, schema-free document-oriented database...
Oct 13 15:08:59 vnpt.vn systemd-coredump[8395]: Process 8393 (mongod) of user 975 dumped core.
Oct 13 15:08:59 vnpt.vn systemd[1]: mongod.service: Control process exited, code=exited status=132
Oct 13 15:08:59 vnpt.vn systemd[1]: mongod.service: Failed with result 'exit-code'.
Oct 13 15:08:59 vnpt.vn systemd[1]: Failed to start High-performance, schema-free document-oriented database.
Oct 13 15:11:46 vnpt.vn systemd[1]: Starting High-performance, schema-free document-oriented database...
Oct 13 15:11:46 vnpt.vn systemd-coredump[8445]: Process 8443 (mongod) of user 975 dumped core.
Oct 13 15:11:46 vnpt.vn systemd[1]: mongod.service: Control process exited, code=exited status=132
Oct 13 15:11:46 vnpt.vn systemd[1]: mongod.service: Failed with result 'exit-code'.
Oct 13 15:11:46 vnpt.vn systemd[1]: Failed to start High-performance, schema-free document-oriented database.
Oct 13 15:35:58 vnpt.vn systemd[1]: Starting High-performance, schema-free document-oriented database...
Oct 13 15:35:58 vnpt.vn systemd-coredump[10982]: Process 10980 (mongod) of user 975 dumped core.
Oct 13 15:35:58 vnpt.vn systemd[1]: mongod.service: Control process exited, code=exited status=132
Oct 13 15:35:58 vnpt.vn systemd[1]: mongod.service: Failed with result 'exit-code'.
Oct 13 15:35:58 vnpt.vn systemd[1]: Failed to start High-performance, schema-free document-oriented database.
Oct 14 08:31:46 vnpt.vn systemd[1]: Starting High-performance, schema-free document-oriented database...
Oct 14 08:31:46 vnpt.vn systemd-coredump[20181]: Process 20179 (mongod) of user 975 dumped core.
Oct 14 08:31:46 vnpt.vn systemd[1]: mongod.service: Control process exited, code=exited status=132
Oct 14 08:31:46 vnpt.vn systemd[1]: mongod.service: Failed with result 'exit-code'.
Oct 14 08:31:46 vnpt.vn systemd[1]: Failed to start High-performance, schema-free document-oriented database.
1 Like

I Found the same error after install Percona lastest version on ubuntu

coldmoney@tumlay:~$ sudo systemctl status mongod
[sudo] password for coldmoney:
× mongod.service - High-performance, schema-free document-oriented database
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-12-27 00:39:24 UTC; 12min ago
Process: 843 ExecStartPre=/usr/bin/percona-server-mongodb-helper.sh (code=exited, status=0/SUCCESS)
Process: 938 ExecStart=/usr/bin/env bash -c ${NUMACTL} /usr/bin/mongod ${OPTIONS} > ${STDOUT} 2> ${STDERR} (code=exited, status=132)
CPU: 296ms

Dec 27 00:39:22 tumlay systemd[1]: Starting High-performance, schema-free document-oriented database…
Dec 27 00:39:24 tumlay env[938]: bash: line 1: 941 Illegal instruction (core dumped) /usr/bin/mongod -f /etc/mongod.conf > /var/log/mongodb/mongod>
Dec 27 00:39:24 tumlay systemd[1]: mongod.service: Control process exited, code=exited, status=132/n/a
Dec 27 00:39:24 tumlay systemd[1]: mongod.service: Failed with result ‘exit-code’.
Dec 27 00:39:24 tumlay systemd[1]: Failed to start High-performance, schema-free document-oriented database.
lines 1-12/12 (END)

1 Like

Hi, is this a brand new install? in that case most likely there are leftover files in /var/lib/mongo which need to be removed.

1 Like

Hi!
Look’s like your hardware doesn’t meet the system requirements:
@hieu_nguyen MongoDB only supports Oracle Linux running the Red Hat Compatible Kernel (RHCK). MongoDB does not support the Unbreakable Enterprise Kernel (UEK).
@coldmoney MongoDB 5.0 requires use of the AVX instruction set (Intel Sandy Bridge or later Core processor, Intel Tiger Lake or later Celeron or Pentium, AMD Bulldozer or later processor.)

1 Like