[英]Mongod does not start: mongod.service: Failed with result 'signal'
I currently have MongoDB 4.4 installed, as my system does not support 5.0.我目前安装了 MongoDB 4.4,因为我的系统不支持 5.0。 I have previously had 4.4 installed on Arch Linux, however when I moved over to Ubuntu and tried to run mongod, I get this result from systemd:
我之前在 Arch Linux 上安装了 4.4,但是当我转到 Ubuntu 并尝试运行 mongod 时,我从 systemd 得到了这个结果:
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2021-12-10 15:57:00 CST; 2min 3s ago
Docs: https://docs.mongodb.org/manual
Process: 4369 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
Main PID: 4369 (code=killed, signal=ILL)
Dec 10 15:57:00 system systemd[1]: Started MongoDB Database Server.
Dec 10 15:57:00 system systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
Dec 10 15:57:00 system systemd[1]: mongod.service: Failed with result 'signal'.
MongoDB fails before logs can be created. MongoDB 在创建日志之前失败。
While this doesn't completely solve the issue, I'm fine with this resolution: For whatever reason, 4.2 works fine, but 4.4 doesn't, even though I was completely fine running 4.4 on Arch.虽然这并不能完全解决问题,但我对这个解决方案很好:无论出于何种原因,4.2 工作正常,但 4.4 不能,即使我在 Arch 上运行 4.4 完全没问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.