Ubuntu Server 22.04.3 LTS环境下MongoDB启动失败(core-dump错误)求助
Ubuntu Server 22.04.3 LTS环境下MongoDB启动失败(core-dump错误)求助
各位大佬好,我现在碰到个头疼的问题,想请大家帮忙看看。我正在Ubuntu Server 22.04.3 LTS(Jammy)上部署Filecloud社区版,依赖的MongoDB死活启动不起来,实在没辙了。
当我执行systemctl status mongod命令时,得到的错误输出是这样的:
× 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'.
我已经试过所有能想到的办法了:修改MongoDB配置文件、卸载重装MongoDB、甚至把Ubuntu系统都重装了一遍,还安装了各种相关依赖包,问过好几个AI工具,也翻遍了官方文档,但问题一点变化都没有。
下面是我当前的mongod.conf配置文件内容:
# 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
真心希望有大佬能帮我排查下问题根源,谢谢大家了!
备注:内容来源于stack exchange,提问作者Creeper39x
相关产品推荐
相关产品推荐

