Proftpd Login Problem with Debian Etch and ISPConfig

Discussion in 'Installation/Configuration' started by Rocky, Apr 27, 2007.

  1. Rocky

    Rocky New Member

    Guys,

    When someone tries to log via FTP, it takes them at least 15 seconds to log in. Can anyone suggest something that would speed the login process up? If this is the default behavior of ISPConfig, then that is fine, however, I don't think it is.

    Rocky
     
  2. Hans

    Hans Moderator Moderator HowtoForge Supporter ISPConfig Developer

  3. Rocky

    Rocky New Member

    Hey Hans thanks for the quick response.

    I've added the UseReverseDNS off to my proftpd.conf file and I already had the IdentLookups off in there.

    I went to /root/ispconfig/isp/conf/ and edited the proftpd.ispconfig.conf.master and changed the defaultaddress to my local lan address that the server is using (192.168.0.xx).

    I also edited my /etc/proftpd.ispconfig.conf file and change the defaultaddress to my local lan address that the server is using (192.168.0.xx).

    When I restart proftpd manually, /etc/init.d/proftpd restart, I get the following message:
    - warning: "ProFTPD" address/port (192.168.0.xx:21) already in use by "MCRI".

    Is that something that I should worry about?

    Rocky
     
  4. Hans

    Hans Moderator Moderator HowtoForge Supporter ISPConfig Developer

    I think the IP is in use within your LAN already, but i'm not sure...:confused:

    Question:
    Do you also established a symlink between /etc/proftpd/proftpd.conf /etc/proftpd.conf ?

    ISPConfig expects the configuration to be in /etc/proftpd.conf instead of /etc/proftpd/proftpd.conf, therefore you shoule create a symlink with:

    ln -s /etc/proftpd/proftpd.conf /etc/proftpd.conf
     
  5. Rocky

    Rocky New Member

    The IP is only assigned to the ISPConfig server, which is the box that is generating the error. I'll take a look at the logs to see what's going on.

    Yes there is a symlink already. I just don't know how to get rid of the error.
     
  6. Hans

    Hans Moderator Moderator HowtoForge Supporter ISPConfig Developer

    Two suggestions:

    First: Make sure that you have the line:

    Include /etc/proftpd_ispconfig.conf

    at the end of your /etc/proftpd.conf file.

    If this don't help, please try the following:

    Put this at the end of /etc/proftpd.conf, right before "Include /etc/proftpd_ispconfig.conf":

    <VirtualHost 127.0.0.1>
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    </VirtualHost>



    After any modification, restart proftpd afterwarts with:

    /etc/init.d/proftpd restart
     
    Last edited: Apr 28, 2007

Share This Page