你看看的/etc/sysconfig/networking/下有没有这个文件:ifcfg-lo.没有的话架个,内容是这样的:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
还有在network-scripts下有个该文件的联接.ln -s /etc/sysconfig/networking/ifcfg-lo /etc/sysconfig/network-script/ifcfg-lo