重启网卡报错 “Device not managed by NetworkManager or unavailable”

service network restart报错

获取不到ip地址

解决方法: chkconfig network off
      chkconfig network on
      service NetworkManager stop
      service NetworkManager start

卸载网卡/加载网卡ifconfig eth0 down / ifconfig eth0 up

原文地址:https://www.cnblogs.com/cmdm/p/7795593.html