PDA

View Full Version : proftpd deny to start


tera7
19th May 2007, 21:32
i installed proftpd from rpm i think i did right the proftpd.conf
but when i
/etc/init.d/proftpd start


starting proftpd [failed]

edge
19th May 2007, 22:20
Nothing in the loggfiles that will suggest whats wrong?

zcworld
21st May 2007, 05:20
what OS and ver
i had that a lot
when i try it on Ubuntu ver 7
but i got it to work on ver 6.06 TLS

tera7
24th May 2007, 04:15
fedora6 my os
i have it running on runlevel 3,4,5
i have nothing in /var/log/proftpd

also i tried with no firewal i disabled iptables as for selinux is already disabled.



ok i did proftpd -td5 and the outpout:


Checking syntax of configuration file
- mod_tls/2.1.1: using OpenSSL 0.9.8b 04 May 2006
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd.conf' configuration
- IPv4 getaddrinfo 'GTO001' error: Name or service not known
- warning: unable to determine IP address of 'GTO001'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'

pjk
25th May 2007, 14:33
i aslo trying
/etc/init.d/proftpd start
and get
"ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration."
what did i missed? :(

falko
25th May 2007, 16:03
Checking syntax of configuration file
- mod_tls/2.1.1: using OpenSSL 0.9.8b 04 May 2006
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd.conf' configuration
- IPv4 getaddrinfo 'GTO001' error: Name or service not known
- warning: unable to determine IP address of 'GTO001'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd.conf'
I guess GTO001 is your hostname?
What's in /etc/hosts?

falko
25th May 2007, 16:04
i aslo trying
/etc/init.d/proftpd start
and get
"ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration."
what did i missed? :(
Please start a new thread, because otherwise this one will become confusing if we deal with two different problems of two different users here.

tera7
25th May 2007, 19:28
/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 GTO001 localhost.localdomain localhost



how do i edit this?
maybe a good link?

falko
26th May 2007, 20:19
/etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 GTO001 localhost.localdomain localhost
Please make it look like this:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.100 GTO001

::1 localhost.localdomain localhostwhere 192.168.0.100 must be replaced with your server's IP address.



how do i edit this?
maybe a good link?With a commandline text editor such as vi:
http://www.howtoforge.com/faq/12_15_en.html

tera7
29th May 2007, 21:20
ok now works perfect thank you:D