重启网卡报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
如图: