systemctl restart mongod.service 重启报错
重启mongodb的命令:systemctl restart mongod.service
或者是systemctl restart mongo
我在重启mongodb时报的错误:
Job for iptables.service failed because the control process exited with error code. See “systemctl status iptables.service” and “journalctl -xe” for details.
我在网上找了很多方法都不行,花费了我好长时间。
解决方法:
运行下列命令:
chkconfig network off
chkconfig network on
service NetworkManager stop
service NetworkManager start
这命令的意思是:重新运行网络管理装置
还没有评论,来说两句吧...