首页 > 解决方案 > mongoDB:子进程失败,以 1 和 14 退出

问题描述


我已经尝试过使用以下线程,但它没有帮助我:
错误:子进程失败,退出错误号 1,mongodb
尝试过:
sudo mongod --fork --config /etc/mongod.conf --logpath /var/log/mongodb/mongod.log
结果:

forked process: 2887
ERROR: child process failed, exited with 48
To see additional information in this output, start without the "--fork" option.

也尝试了以下方法:
sudo systemctl start mongod
错误消息中的一行说:
ERROR: child process failed, exited with 14

不胜感激。在我开始尝试实现副本集之前,mongod 工作得很好。

标签: mongodb

解决方案


推荐阅读