简体   繁体   English

Mongod 未启动:mongod.service:失败,结果为“信号”

[英]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.

相关问题 Mongod 未启动(mongod.service:失败,结果为“信号”) - Mongod does not start (mongod.service: Failed with result 'signal') mongod.service 启动失败:未找到 Unit mongod.service - Failed to start mongod.service: Unit mongod.service not found 启动 mongod.service 失败:找不到单元 mongod.service,找不到 mongod.service? - Failed to start mongod.service: Unit mongod.service not found., unable to find the mongod.service? Mongodb 4:无法启动mongod.service:找不到单元mongod.service - Mongodb 4: Failed to start mongod.service: Unit mongod.service not found 无法启动 mongod.service:在 Ubuntu 20.04 上找不到单元 mongod.service - Failed to start mongod.service: Unit mongod.service not found on Ubuntu 20.04 无法重新启动mongod.service:找不到单元mongod.service - Failed to restart mongod.service : Unit mongod.service not found 无法重新启动mongod.service:找不到单元mongod.service - Failed to restart mongod.service: Unit mongod.service not found 无法在Ubuntu 16.04 LTS上启动mongod.service - Failed to start mongod.service on Ubuntu 16.04 LTS 单元 mongod.service 输入失败 state。 当尝试在 Amazon Linux 中启动 mongod - Unit mongod.service entered failed state. When try to start mongod in Amazon Linux 在Ubuntu上启动mongod.service失败 - Failure with start mongod.service on Ubuntu
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM