PDA

View Full Version : pro ftp daemon error


signature16
2006-03-28, 03:25 PM CST
i get this error when i try to start proftpd:




[root@linuxtest ~]# /etc/init.d/proftpd start
Starting proftpd: - IPv4 getaddrinfo 'linuxtest' error: Name or service not known
- warning: unable to determine IP address of 'linuxtest'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'
[FAILED]
[root@linuxtest ~]#




After yum install proftpd all i need to do is add a user account and group and then define them in the conf file and then start the server? Thats exactly what I did and I get this error. Also, my user is only in the proftp group. whats wrong?

signature16
2006-03-28, 08:20 PM CST
here is my proftpd.conf



ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User ftp
Group ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>



also, here is my /etc/hosts file:


xx.xxx.xxx.xxx linuxtest.shook-hosting.com

127.0.0.1 localhost linuxtest.shook-hosting.com


and my /etc/sysconfig/network file

NETWORKING=yes
HOSTNAME=linuxtest
GATEWAY=xx.xxx.xxx.xxx

giulix
2006-03-29, 02:39 AM CST
Modify you /etc/hosts file to look like this:

xx.xxx.xxx.xxx linuxtest.shook-hosting.com linuxtest

127.0.0.1 localhost linuxtest.shook-hosting.com