Linux:Job for network.service failed because the control process exited with error code

1、su root

2、输入密码

3、systemctl restart network

报错:Job for network.service failed because the control process exited with error code

4、systemctl status network  查看网络连接状态

5、

6、解决方法:

关闭NetWork Manager然后重启network

命令:

systemctl stop NetworkManager
systemctl start network

7、ping 8.8.8.8  通了

8、试一下ifconfig

还是报错

9、安装插件

yum install ifconfig

🆗了

 

posted on 2024-09-03 21:27  宋霏  阅读(433)  评论(0编辑  收藏  举报