Linux重启网卡报Job for network.service failed because the control process exited with error code. 错误

重启网卡报Job for network.service failed because the control process exited with error code. 错误

centos7下重启网卡

systemctl restart network

然后报错

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

解决方法:

执行

systemctl stop NetworkManager

然后执行

systemctl disable NetworkManager

然后重启网卡

systemctl restart network

看一下网卡的状态

ifconfig

如图:

这里写图片描述

猜你喜欢

转载自blog.csdn.net/WilsonSong1024/article/details/81747712