本文介绍了Mongod 未启动(mongod.service:失败,结果为“信号")的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

命令后sudo service mongod start &&sudo service mongod 状态

● mongod.service - MongoDB Database Server
   Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled)
   Active: failed (Result: signal) since Wed 2021-08-18 11:58:29 MSK; 4s ago
     Docs: https://docs.mongodb.org/manual
  Process: 13899 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=killed, signal=ILL)
 Main PID: 13899 (code=killed, signal=ILL)

авг 18 11:58:29 400sk systemd[1]: Started MongoDB Database Server.
авг 18 11:58:29 400sk systemd[1]: mongod.service: Main process exited, code=killed, status=4/ILL
авг 18 11:58:29 400sk systemd[1]: mongod.service: Failed with result 'signal'.

不在/var/logs 中写入日志

Debian 10,尝试 MongoDB 4.2 和 5.0,Intel(R) Xeon(R) E5540 @ 2.53GHz

Debian 10, try MongoDB 4.2 and 5.0, Intel(R) Xeon(R) E5540 @ 2.53GHz

从官方网站安装(https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/)

推荐答案

信号ILL"是非法指令.

Signal "ILL" is illegal instruction.

MongoDB 5.0 需要 Advanced Vector Extensions,Xeon E5540 没有.

MongoDB 5.0 requires Advanced Vector Extensions, Xeon E5540 does not have them.

有关支持 AVX 的处理器列表,请参阅 https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX

For a list of processors that support AVX, see https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX

这篇关于Mongod 未启动(mongod.service:失败,结果为“信号")的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 17:41