linux重启网络服务出错Shutting down interface eth0: Device state: 3 (disconnected);Active connection path: /org/freedeskto

ESXI5.1安装centos6.5系统,做捆绑后,重启网络服务时出现如下报错;

# /etc/init.d/network restart

Shutting down interface eth0:  Device state: 3 (disconnected)
[  OK  ]
Shutting down loopback interface:  [  OK  ]
Bringing up loopback interface:  [  OK  
Bringing up interface eth0:  Active connection state: activated
Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/3

[  OK  ]

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

64 bytes from 192.168.1.1: icmp_seq=1 ttl=251 time=6.49 ms

64 bytes from 192.168.1.1: icmp_seq=2 ttl=251 time=6.64 ms

64 bytes from 192.168.1.1: icmp_seq=3 ttl=251 time=6.76 ms

ping网关可以,但是ping外网及外网ping它则不通;

1、初步判断跟桌面环境有关,于是修改启动级别,inittab为3;重启后依然报错;

2、后想起,以前安装centos6.2做桌面时,每次network重启时,桌面的网络就会出现一个叉号,然后网络断开;

   于是考虑删除desktop的NetworkManager软件,yum -y erase NetworkManager;卸载后,再次重启网络服务,无报错,

   内外网均正常;

Total:线上服务一般均server版本,很少安装桌面相关软件;在5系列中无该问题发生,6系列如果安装此类软件则建议删除掉;

 

摘自:

https://blog.csdn.net/alizee635/article/details/39376929

posted @ 2020-12-04 10:22  爱跳舞的程序员  阅读(723)  评论(0编辑  收藏  举报