LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Fail to start proftpd (http://www.linuxquestions.org/questions/linux-server-73/fail-to-start-proftpd-541909/)

satimis 03-30-2007 10:24 AM

Fail to start proftpd
 
Hi folks,

CentOS 4.4 amd64

# /etc/init.d/proftpd start
Code:

Starting proftpd: - getaddrinfo 'host.satimis.com' error: Name or service not known

- warning: unable to determine IP address of 'host.satimis.com'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'
                                                                        [FAILED]

Pls advise how to fix it. TIA


B.R.
satimis

bsdunix 03-30-2007 11:32 AM

Is host.satimis.com listed in your /etc/hosts file with a valid IP address?

"Frequently Asked Questions

"Question: Why do I see the following when my proftpd starts up?

getaddrinfo 'hostname' error: No address associated with hostname
warning: unable to determine IP address of 'hostname'

Answer: This error is ProFTPD's way of reporting that it was unsuccessful in resolving hostname to an IP address. Fixing this is a matter of configuring DNS for that hostname: properly set up an IP address for that DNS name in your DNS server, use a DNS name that has an IP address, or (as a quick fix/last resort) add that DNS name to your /etc/hosts file. The proper solution depends largely on the circumstances."
http://www.castaglia.org/proftpd/doc...HOWTO-DNS.html

satimis 03-30-2007 11:40 AM

Quote:

Originally Posted by bsdunix
Is host.satimis.com listed in your /etc/hosts file with a valid IP address?

No.

I got it fixed by editing /etc/hosts as follow;

# cat /etc/hosts
Code:

127.0.0.1      host.satimis.com  host
...

proftpd started

Tks


B.R.
satimis


All times are GMT -5. The time now is 05:26 AM.