报错信息如下:
Restarting network (via systemctl): Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
解决思路如下:
使用命令 systemctl status network 查看报错:Failed to start LSB: Bring up/down networking
找到原因并解决:
系统自带的NetworkManager管理套件影响到网卡的启动,关掉就可以了。
命令如下:
systemctl stop NetworkManager //停止NetworkManager systemctl disable NetworkManager //并使其失效,开机不启动 systemctl start network //启动网络后就OK了