Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details

我这边centos安装mongodb启动报错,有mongo版本,是因为删除了配置文件“/etc/mongod.conf”

解决办法:把  /etc/mongod.conf_bak复制到  /etc/mongod.conf

cp /etc/mongod.conf_bak /etc/mongod.conf

 

 

posted @ 2020-02-06 15:41  wx_h13813744  阅读(2090)  评论(0编辑  收藏  举报