弹出界面eth0/eth1错误 激活连接失败 master connection not found or invalid 解决办法 – 21运维
通知: .-...

弹出界面eth0/eth1错误 激活连接失败 master connection not found or invalid 解决办法

linux 21运维 7700浏览 0评论

原因是NetworkManager 开启导致。关闭NetworkManager服务,否则会报错master connection not found or invalid。主要是因为NetworkManager接管了网卡启动,将NetworkManager停掉,并启动 network 服务来接管网卡服务,请查看如下四条命令:

service NetworkManager stop
chkconfig NetworkManager off
chkconfig network on
service network start

重启网卡解决。

[[email protected] network-scripts]# ifconfig
br0       Link encap:Ethernet  HWaddr 00:0C:29:8C:12:98  
          inet addr:192.168.1.6  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:29ff:fe8c:1298/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:988 errors:0 dropped:0 overruns:0 frame:0
          TX packets:288 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:61205 (59.7 KiB)  TX bytes:62394 (60.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:0C:29:8C:12:98  
          inet6 addr: fe80::20c:29ff:fe8c:1298/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:98837 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24067 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:95769292 (91.3 MiB)  TX bytes:1979914 (1.8 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1592 (1.5 KiB)  TX bytes:1592 (1.5 KiB)

virbr0    Link encap:Ethernet  HWaddr 52:54:00:EF:7F:78  
          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

转载请注明:21运维 » 弹出界面eth0/eth1错误 激活连接失败 master connection not found or invalid 解决办法

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址