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 /]# 
  • 相关阅读:
    C++学生成绩管理系统
    蓝桥杯算法训练 最大最小公倍数
    蓝桥杯基础练习 完美的代价
    vim编辑器的使用技巧
    C语言中static关键字的用法
    在linux环境下编译运行OpenCV程序的两种方法
    Linux中gcc编译器的用法
    浅谈Java中的hashcode方法
    读CopyOnWriteArrayList有感
    徐汉彬:Web系统大规模并发——电商秒杀与抢购(技术实现)
  • 原文地址:https://www.cnblogs.com/justuntil/p/8046461.html
Copyright © 2011-2022 走看看