Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
来源:互联网 发布:电子产品销售软件 编辑:程序博客网 时间:2024/06/05 02:34
安装CENT OS时手动配置了IP和DNS,安装完成后,IP未生效
[root@localhost network-scripts]# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.205.1.255
GATEWAY=10.205.0.254
IPADDR=10.205.0.70
NETMASK=255.255.255.0
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
UUID="cbf78fc4-dca7-431f-bacb-66e9fb152dcd"
HWADDR=5A:2D:8A:5F:F7:9C
PREFIX=23
DNS1=211.155.27.88
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
LAST_CONNECT=1417162738
service network restart:
有如下报错
hutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disconnecting failed: This device is not active [FAILED]
Shutting down interface eth1: Error: Device 'eth1' (/org/freedesktop/NetworkManager/Devices/1) disconnecting failed: This device is not active [FAILED]
搜索网上解决方案:
- chkconfig NetworkManager off
- chkconfig network on
- service NetworkManager stop
- Stopping NetworkManager daemon: [ OK ]
- service network start
Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring
再搜解决方案:
#ifconfig eth0 down
#cd /etc/sysconfig/network-scripts
#vi ifcfg-eth0
修改其中的"HWADDR=xx:xx:xx:xx:xx:xx"为"MACADDR=xx:xx:xx:xx:xx:xx"
#ifconfig eth0 up
#service network start
问题解决,日志如下:
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: RTNETLINK answers: Device or resource busy
[ 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 network-scripts]# ifconfig
eth0 Link encap:Ethernet HWaddr B6:D7:97:82:7A:26
inet addr:10.205.0.70 Bcast:10.205.1.255 Mask:255.255.254.0
- Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
- Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
- shutting down interface eth0 error device 'eth0' disconnected failed this device is not active
- Shutting down interface eth1: Error: Device ‘eth1′ NetworkManager/Devices/1 disconnecting failed:
- Shutting down interface eth1: Error: Device ‘eth1′ NetworkManager/Devices/1 disconnecting failed: Th
- Shutting down interface eth0: Device state: 3 (disconnected);Active connection path: /org/freedeskto
- Bringing up interface eth0: Error:Connection activation failed:Device not managed by NetworkManager
- Bringing up interface eth0: Error:Connection activation failed:Device not managed by NetworkManager
- ifconfig eth0 eth0: error fetching interface information: Device not found
- eth0,eth0: ERROR while getting interface flags: No such device
- ifconfig eth0 eth0: error fetching interface information: Device not found
- Bringing up interface eth0: Error: No suitable device : no device found for connection System eth0
- eth0:Error while etting interface flags:No such device
- VMWare: eth0: error fetching interface information : device not found
- eth0:ERROR while getting interface flags:No such device问题解决
- eth0: ERROR while getting interface flags: No such device
- eth0: ERROR while getting interface flags: No such device
- bringing up interface eth0: error no suitable device found
- 通过Struts标签和JSTL标签来遍历List<Map<String,String>>格式的数据
- equals 与“=”比较
- J2EE vs. Microsoft.NET-建置XML架构的Web Services之比较
- CXF学习笔记(3)-HelloWorld!-通过servlet发布webservice .
- git 删除远程仓库命令
- Shutting down interface eth0: Error: Device 'eth0' (/org/freedesktop/NetworkManager/Devices/0) disc
- Class<T>类型参数(详解)
- Java SE Lesson 4
- UML学习手册
- post和get最大传输量
- Android Service完全解析,关于服务你所需知道的一切(下)
- XMPP框架使用之搜索协议
- Numbers
- CXF学习笔记(4)-HelloWorld!-安全认证