I installed mongodb according to https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-ubuntu/ on ubuntu 20.04. I adhered the guide and did not change any configuration files or anything else. Now, when I run “sudo systemctl start mongod” the terminal just executes the command but no output is produced. Running “sudo systemctl status mongod” gives:
mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-03-27 15:18:13 CEST; 19s ago
Docs: https://docs.mongodb.org/manual
Process: 54971 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=14)
Main PID: 54971 (code=exited, status=14)
Can somebody tell me what I have done wrong? Many thanks!
┌──(root💀kali)-[/home/stark]
└─# systemctl status mongod.service
× mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Mon 2022-05-02 15:57:15 IST; 1s ago
Docs: https://docs.mongodb.org/manual
Process: 2351 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
Main PID: 2351 (code=killed, signal=ILL)
CPU: 17ms
May 02 15:57:15 kali systemd[1]: Started MongoDB Database Server.
May 02 15:57:15 kali systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
May 02 15:57:15 kali systemd[1]: mongod.service: Failed with result ‘signal’.
please help me this error show my laptop when i put these command
i used hp8440p laptopi5 i have linux os debian
and i have win10 in my laptop here is work mongo but
not working in my linux os thro me this error please resolve this
The CPU in your laptop is probably an i5-520M.
That CPU does not support the AVX instruction.
Therefore, it will not run the latest versions of MongoDB.
Getting this error when trying to install Mongo 5 on Ubuntu release 20.04 LTS 64.
mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Fri 2023-02-17 22:23:04 EST; 31s ago
Docs: https://docs.mongodb.org/manual
Process: 7221 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=dumped, signal=ILL)
Main PID: 7221 (code=dumped, signal=ILL)
Tried to uninstall and reinstall.
Output from log:
kernel: [ 3782.753092] traps: mongod[7221] trap invalid opcode ip:555b528a19da sp:7ffca788f9b0 error:0 in mongod[555b4e821000+51e5000]
Feb 17 22:23:04 MobileMoe13 systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
Feb 17 22:23:04 MobileMoe13 systemd[1]: mongod.service: Failed with result ‘core-dump’.
Feb 17 22:25:57 MobileMoe13 PackageKit: daemon quit