centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
来源:互联网 发布:与人工智能有关的电影 编辑:程序博客网 时间:2024/06/05 20:11
解决办法:
1 chkconfig NetworkManager off
2 chkconfig network on
3 service NetworkManager stop
4 service network start
=================悲催的分割线=======================================================
给新机器配置了IP地址之后,发现网络仍处于断开状态
第一步:查看是否有 有效的IP地址
ifconfig -a
第二步:如果没有IP的话,配置IP:
也可以通过配置文件/etc/sysconfig/network-scripts/ifcfg-eth0 配置
主要是以下几个参数
ONBOOT
IPADDR
GATEWAY
NETMASK
第三步:
如果以上参数都正确的话,重启网络服务service network restart
查看网络状态
第四步:IP地址配置正确,网络也重启了,但是仍处于中断
检查一下网卡是否启用
mii-tool 命令
或
/etc/init.d/network status
若没有启动网卡,则ifconfig eth0 up 启动网卡
第五步:IP地址正常,网卡启用的状态下,检查NetworkManager
因为我在以上两个前提条件下,重启网络时遇到如下报错:
Connection activation failed Device not managed by NetworkManager
1)查看NetworkManager服务是否启动
ps aux |grep NetworkManager
使用service NetworkManager start 命令启动该网络管理程序
2) 一般默认情况下该程序是启动的,我将 NetworkManager重启之后发现网络正常了
- centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
- centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
- centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
- centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
- centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
- Error:Connection activation failed:Device not managed by NetworkManager
- Error: Connection activation failed: Device not managed by NetworkManager
- Error: Connection activation failed: Device not managed by NetworkManager
- Error:Connection activation failed:Device not managed by NetworkManager
- Error:Connection activation failed:Device not managed by NetworkManager
- centos6.6重启网络报错Error: Connection activation failed: Device not managed by NetworkManager的解决办法
- Redhat6 虚拟机下启动eth0报错Error: Connection activation failed: Device not managed by NetworkManager
- 虚拟机下启动eth0报错Error: Connection activation failed: Device not managed by NetworkManager
- Redhat6 虚拟机下启动eth0报错Error: Connection activation failed: Device not managed by NetworkManager
- Connection activation failed Device not managed by NetworkManager
- 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
- centos6.4重启网络报错Error: Connection activation failed: Device not managed by Networ
- Android休眠唤醒驱动流程分析(二)
- 小凡爱南国于2014年2月22日正式入驻CSDN
- 解决服务器没有开启GD库的完整方法
- Android休眠唤醒驱动流程分析(三)
- 云计算(三十三)-Hbase使用filter快速高效查询
- centos6.0下Error: Connection activation failed: Device not managed by NetworkManager解决办法
- java类初始化的顺序
- Android休眠唤醒驱动流程分析(四)
- CF:Problem 383D - Antimatter 分治DP
- U盘制作
- java类初始化的"惰性"
- 为情所伤
- lnmp安装之后的数据库(phpmyadmin)的安全设置(意见中肯)
- 利用jstack分析JAVA应用CPU占用过高的问题