MongoDB – Illegal instruction – failed

Environment

- Debian 12
- MongoDB 7
- Proxmox 8.2.2

Error Log

root@HOVPLVPN01:~# systemctl status mongod
× mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; preset: enabled)
Active: failed (Result: signal) since Thu 2024-08-29 10:08:41 WIB; 4min 13s ago
Duration: 138ms
Docs: https://docs.mongodb.org/manual
Process: 476 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
Main PID: 476 (code=killed, signal=ILL)
CPU: 22ms

Aug 29 10:08:40 HOVPLVPN01 systemd[1]: Started mongod.service - MongoDB Database Server.
Aug 29 10:08:41 HOVPLVPN01 systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
Aug 29 10:08:41 HOVPLVPN01 systemd[1]: mongod.service: Failed with result 'signal'.
root@DB01:~# /usr/bin/mongod --config /etc/mongod.conf
Illegal instruction

Solution

Change KVM Processors to 'x86-64-v3' on Proxmox

Proxmox Processors

Resource
Mongo DB 5.0 not install | Proxmox Support Forum

Leave a Comment

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.