码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-02-06 16:26:23      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:for   启动报错   mongodb   erro   安装   ODB   exit   解决办法   centos安装   

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

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

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

 

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

标签:for   启动报错   mongodb   erro   安装   ODB   exit   解决办法   centos安装   

原文地址:https://www.cnblogs.com/2186009311CFF/p/12268913.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!