当前位置: 技术问答>linux和unix
【诚意求救】小弟一台Web服务器上ProFTP服务启动失败,现给出错误信息,求高手分析原因
来源: 互联网 发布时间:2016-08-12
本文导语: 各位大虾,小弟自己的Web服务器(Centos5.4系统)部署,现在遇到一个棘手的问题,ProFTP服务无法启动,具体错误消息如下: [root@dedi044 ~]# proftpd ------------------------------------------------------------------------------------ - IPv4...
各位大虾,小弟自己的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
--------------------------------------------------------------------
根据错误的提示,能看出来是哪里出问题了吗?(能帮助解决这个棘手问题兄弟我除了送分之外外加100元!诚意求教)
[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
--------------------------------------------------------------------
根据错误的提示,能看出来是哪里出问题了吗?(能帮助解决这个棘手问题兄弟我除了送分之外外加100元!诚意求教)
|
错误就是'dedi044.lax1.coolhandle.com' 不能解析啊
dedi044.lax1.coolhandle.com要是DNS域名可以解析的 要么是你/etc/hosts里有
而你/etc/hosts里面设置的
127.0.0.1 dedi044.lax1.pronethosting.net
你看明显不一致啊!
dedi044.lax1.coolhandle.com要是DNS域名可以解析的 要么是你/etc/hosts里有
而你/etc/hosts里面设置的
127.0.0.1 dedi044.lax1.pronethosting.net
你看明显不一致啊!