I need help with MongoDB. I am running Ubuntu Server 22.04.3 LTS (Jammy). When I run systemctl status mongod
, I get this:
× mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Sat 2023-10-28 09:41:21 NZDT; 1s ago
Docs: https://docs.mongodb.org/manual
Process: 186542 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=dumped, signal=ILL)
Main PID: 186542 (code=dumped, signal=ILL)
CPU: 13ms
Oct 28 09:41:20 theserver systemd[1]: Started MongoDB Database Server.
Oct 28 09:41:21 theserver systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
Oct 28 09:41:21 theserver systemd[1]: mongod.service: Failed with result 'core-dump'.
All I am trying to do is run Filecloud community edition.
I have tried everything. Changing the config file, reinstalling it, reinstalling ubuntu, installing other packages, asking multiple AI to help, looking through all the documentaion, and after doing all of that nothing has changed. Here is my config file:
# mongod.conf
# Where and how to store data.
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
# where to write logging data.
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
# network interfaces
net:
port: 27017
bindIp: 127.0.0.1