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