Restarting network (via systemctl): Job for network.service failed. See ‘systemctl status network.s

Centos7 重启网络报错
Restarting network (via systemctl): Job for network.service failed. See ‘systemctl status network.service’ and ‘journalctl -xn’ for details.

执行上面命令遇到
XXXXXX
Failed to start LSB: Bring up/down networking
XXXXXX

尝试了修改配置文件
/etc/sysconfig/network-scripts/ifcfg-ens33 中的UUID和HWADDR无果
UUID利用uuidgen命令生成
MAC用 ip addr获得

stackoverflow找到解决方案
https://stackoverflow.com/questions/43847470/failed-to-start-lsb-bring-up-down-networking
先关闭网络管理器 、关闭网络再开启网络

systemctl disable NetworkManager

### systemctl status NetworkManager  -> inactive

systemctl stop network

systemctl start network

你可能感兴趣的:(Error)