systemctl restart mongod.service 重启报错

女爷i 2022-05-26 05:14 313阅读 0赞

重启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

这命令的意思是:重新运行网络管理装置

发表评论

表情:
评论列表 (有 0 条评论,313人围观)

还没有评论,来说两句吧...

相关阅读