zoukankan      html  css  js  c++  java
  • CentOS6.5 重启网络报错:Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManager or unavailable

    CentOS6.5 重启网络报错:
    Bringing up interface eth0:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable

     解决方法:

    [root@localhost network-scripts]# vi ifcfg-eth0 
    [root@localhost network-scripts]# service network restart
    Shutting down interface eth0:                              [  OK  ]
    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface eth0:  Error: Connection activation failed: Device not managed by NetworkManager or unavailable
                                                               [FAILED]
    [root@localhost network-scripts]# cd /
    [root@localhost /]# chkconfig NetworkManager off
    [root@localhost /]# chkconfig network on
    [root@localhost /]# service NetworkManager stop
    Stopping NetworkManager daemon:                            [  OK  ]
    [root@localhost /]# service network start
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface eth0:                                [  OK  ]
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    RTNETLINK answers: File exists
    [root@localhost /]# service network restart
    Shutting down interface eth0:                              [  OK  ]
    Shutting down loopback interface:                          [  OK  ]
    Bringing up loopback interface:                            [  OK  ]
    Bringing up interface eth0:  Determining if ip address 192.168.20.26 is already in use for device eth0...
                                                               [  OK  ]
    [root@localhost /]# 
  • 相关阅读:
    dom4j 创建XML文件
    Convert.ToInt32()与int.Parse()的区别
    委托
    工厂模式
    策略模式
    大型网站架构演化
    字符串反转(面试)
    switch(面试)
    带宽计算
    新语法
  • 原文地址:https://www.cnblogs.com/justuntil/p/8046461.html
Copyright © 2011-2022 走看看