centos7重启系统网卡启动失败

系统reboot执行完后发现xshell连接不上,查看ip地址发现网卡没有启动

执行systemctl restat network

报错:

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.

原因:

系统自带的NetworkManager这个管理套件搞得鬼,那么就关掉试试

systemctl stop NetworkManager

systemctl disable NetworkManager

再次启动网卡

systemctl restat network

搞定

猜你喜欢

转载自blog.csdn.net/xiaohuixing16134/article/details/82788521