在Oracle enterprise Linux上当我重新启动网络服务时,遇到以下错误:
# service network restart
Shutting down interface eth0: Device state: 3 (disconnected)
[ OK ]
Shutting down interface eth1: Error: Device ‘eth1′ (/org/freedesktop/NetworkManager/Devices/1) disconnecting failed: This device is not active
[FAILED]
Shutting down interface eth2: Error: Device ‘eth2′ (/org/freedesktop/NetworkManager/Devices/2) disconnecting failed: This device is not active
[FAILED]
Shutting down interface eth3: Error: Device ‘eth3′ (/org/freedesktop/NetworkManager/Devices/3) disconnecting failed: This device is not active
---------------------------------------------------------------------------------------------------------------------------------------
解决方案如下:
停用NetworkManager后再重新启动服务即可解决问题(restart network service)
[root@proxy network-scripts]# service NetworkManager stop
Stopping NetworkManager daemon: [ OK ]
[root@proxy network-scripts]# chkconfig NetworkManager off
[root@proxy network-scripts]# chkconfig network on
[root@proxy network-scripts]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
[root@proxy network-scripts]#
http://www.itpub.net/thread-1830285-1-1.html