/etc/hosts中设定错误
本机ip地址是172.24.4.1﹐而/etc/hosts中的设置是:
[root@paclx ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
202.104.57.161 paclx.yyhj.com.cn paclx
把202.104.57.161改為172.24.4.1就可以了。
转载于:https://blog.51cto.com/38209/730659