各位大虾,小弟的Web服务器(Centos5.4系统),现在遇到一个棘手的问题,ProFTP服务无法启动,具体错误消息如下:
[root@dedi044 ~]# proftpd
------------------------------------------------------------------------------------
- IPv4 getaddrinfo 'dedi044.lax1.coolhandle.com' error: Name or service not known
- warning: unable to determine IP address of 'dedi044.lax1.coolhandle.com'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'
------------------------------------------------------------------------------------
请问,是否是 hosts文件设置错误导致的吗?
我的hosts文件如下:
[root@dedi044 ~]# vi /etc/hosts
---------------------------------------------------------------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 dedi044.lax1.pronethosting.net dedi044 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
--------------------------------------------------------------------
请教导致失败的原因是什么?