proftpd deny to start

Discussion in 'Server Operation' started by tera7, May 19, 2007.

  1. tera7

    tera7 New Member

    i installed proftpd from rpm i think i did right the proftpd.conf
    but when i
    /etc/init.d/proftpd start


    starting proftpd [failed]
     
  2. edge

    edge Active Member Moderator

    Nothing in the loggfiles that will suggest whats wrong?
     
  3. zcworld

    zcworld New Member

    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
     
  4. tera7

    tera7 New Member

    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'
     
    Last edited: May 24, 2007
  5. pjk

    pjk New Member

    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? :(
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I guess GTO001 is your hostname?
    What's in /etc/hosts?
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Please start a new thread, because otherwise this one will become confusing if we deal with two different problems of two different users here.
     
  8. tera7

    tera7 New Member

    /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?
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Please make it look like this:
    Code:
    # 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	localhost
    where 192.168.0.100 must be replaced with your server's IP address.



    With a commandline text editor such as vi:
    http://www.howtoforge.com/faq/12_15_en.html
     
  10. tera7

    tera7 New Member

    ok now works perfect thank you:D
     

Share This Page