Web-FTP hanging

Discussion in 'Installation/Configuration' started by dbrooke, Oct 25, 2007.

  1. dbrooke

    dbrooke New Member


    It appears proftpd is running (when I do a netstat) but I can't connect to it with ISPConfig's "Web-FTP" and running some debugging reveals some sort of error:

    [email protected]:/home/donovan# proftpd -t
    Checking syntax of configuration file
    - setting default address to
    Syntax check complete.

    [email protected]:/home/donovan# proftpd -n -c /etc/proftpd.conf
    - setting default address to
    localhost.localdomain - Failed binding to, port 21: Address already in use
    localhost.localdomain - Check the ServerType directive to ensure you are configured correctly.

    [email protected]:/home/donovan# proftpd -d 5
    - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
    - parsing '/etc/proftpd/proftpd.conf' configuration
    - parsing '/etc/proftpd/modules.conf' configuration
    - mod_tls/2.1.1: using OpenSSL 0.9.8e 23 Feb 2007
    - disabling runtime support for IPv6 connections
    - DenyFilter: compiling deny regex '\*.*/'
    - <IfModule>: using 'mod_tls.c' section at line 90
    - <IfModule>: skipping 'mod_quota.c' section at line 94
    - <IfModule>: skipping 'mod_ratio.c' section at line 98
    - <IfModule>: using 'mod_delay.c' section at line 106
    - <IfModule>: using 'mod_ctrls.c' section at line 110
    - mod_ctrls/0.9.4: closing ctrls socket '/var/run/proftpd/proftpd.sock' (3)
    - <IfModule>: using 'mod_ctrls_admin.c' section at line 118
    - parsing '/etc/proftpd_ispconfig.conf' configuration
    - setting default address to
    localhost.localdomain -
    localhost.localdomain - Config for Debian:
    localhost.localdomain - DeferWelcome
    localhost.localdomain - DefaultServer
    localhost.localdomain - ShowSymlinks
    localhost.localdomain - TimeoutNoTransfer
    localhost.localdomain - TimeoutStalled
    localhost.localdomain - TimeoutIdle
    localhost.localdomain - DisplayLogin
    localhost.localdomain - DisplayFirstChdir
    localhost.localdomain - ListOptions
    localhost.localdomain - DenyFilter
    localhost.localdomain - UserID
    localhost.localdomain - UserName
    localhost.localdomain - GroupID
    localhost.localdomain - GroupName
    localhost.localdomain - Umask
    localhost.localdomain - DirUmask
    localhost.localdomain - AllowOverwrite
    localhost.localdomain - TransferLog
    localhost.localdomain - TLSEngine
    localhost.localdomain - DelayEngine
    localhost.localdomain - DefaultRoot
    localhost.localdomain - IdentLookups
    localhost.localdomain - ServerIdent
    localhost.localdomain -
    localhost.localdomain - Config for Debian:
    localhost.localdomain - DefaultRoot
    localhost.localdomain - AllowOverwrite
    localhost.localdomain - Umask
    localhost.localdomain - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'

    [email protected]:/home/donovan# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 4156/mysqld
    tcp 0 0 *:81 *:* LISTEN 17368/ispconfig_htt
    tcp 0 0 *:ftp *:* LISTEN 19043/proftpd: (acc [snip]

    Thanks for any help on this!

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the content of the /etc/hosts file and the proftpd.conf file, comments stripped.
  3. dbrooke

    dbrooke New Member

    -------------------------------------------- localhost.localdomain localhost ubuntu.elatia.net ubuntu.elatia.net ubuntu ubuntu.elatia.net ubuntu

    ::1 ip6-localhost ip6-loopback ubuntu.elatia.net
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts


    UseIPv6 off

    ServerName "Debian"
    ServerType standalone
    DeferWelcome off

    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks on

    TimeoutNoTransfer 600
    TimeoutStalled 600
    TimeoutIdle 1200


    Well, I see some logical changes I should make on both those suggestions... however, since you took the time to reply... these are the exact files and I would sure appreciate your comments on what to change!

    I am thinking:
    Get rid of:
    ' ubuntu.elatia.net ubuntu'

    UseIPv6 on
    ServerName "UbuntuServ"

    (not sure on ServerName... "UbuntuServ" is the name of my server...
    "ubuntu" is the host name... not sure which to use)

    Thanks for your comments!

  4. dbrooke

    dbrooke New Member

    O.K., this morning I realized that I could now connect to "Web-FTP" (ISPConfig). I think it was a simple mistake of not knowing how to work ISPConfig... as one has to set up a site to manage first.

    Donovan (off to RTFM)
  5. erebus

    erebus New Member

    Code: localhost.localdomain localhost ubuntu.elatia.net ubuntu.elatia.net ubuntu ubuntu.elatia.net ubuntu
    Also I don't find wise that you use the same hostname (ubuntu.elatia.net) in 3 different places. The following setup would be sufficient and much clearer:

    Code: localhost.localdomain localhost ubuntu.elatia.net ubuntu

Share This Page