注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

无明

 
 
 

日志

 
 

Error: Connection activation failed: Device not managed by NetworkManager  

2011-09-08 23:31:33|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

rhel 6 在虚拟机中,启动eth0 网卡时报错:

Error: Connection activation failed: Device not managed by NetworkManager
于是在网上找了解决方法:

1. Remove Network Manager from startup Services.
chkconfig NetworkManager off
2. Add Default Net Manager
chkconfig network on
Stop NetworkManager first
service NetworkManager stop
and then start Default Manager
service network start
or you can change it easy:
system-config-network 
uncheck the box that sets the eth0 as managed by NetworkManager and set IP info from there.
system-config-services 
stop and disable NetworkManager , start and enable network
you have problem because both of NetworkManager and Network using same Network driver and default network blocking access for NetworkManager. if you disable NetworkManager your problem will disappeared after restart.
=================================================================================

结果还是有错:

在service network Start的时候
*出环回接口: [确定]
*出界面 eth0: 
正在决定 eth0 的 IP 信息...失败了。
[失败]
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

 

于是在restart network一下,就OK了,不知道什么原理。


  评论这张
 
阅读(2623)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018