Problem with pure-ftpd and ISPConfig 3

Discussion in 'Installation/Configuration' started by Merlot, Apr 13, 2016.

  1. Merlot

    Merlot New Member

    I'm having problems getting FTP to work with ISPConfig 3.
    Ubuntu 14.04.4 LTS

    I think the problem has happened because I re-installed pure-ftpd after I installed ISPConfig, but basically I cannot connect by FTP either remotely or locally. The pure-ftpd syslog shows the following error when trying to connect:

    Here is what I don't get:

    1. There is no MySQL pure-ftpd database, and the guide above does not include a section on setting that up. Is that because the setup of ISPConfig does that automatically WHEN pure-ftpd is already installed? - or is that because the dbispconfig database is somehow used instead?

    2. The /etc/pure-ftpd/db/mysql.conf file contains (literally) the lines "MYSQLUser root" and "MYSQLPassword password" which clearly can't be used for anything.

    I presume removing ISPConfig and starting all over again would probably fix it, but I would really like to avoid that.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    pure-ftpd connects directly to dbispconfig, so it needs no separate database.

    Thats wrong then.

    Try this:

    cd /tmp
    tar xvfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install
    php -q update.php
    and choose to reconfigure services during update. this should update the pure-ftpd mysql file as well with the correct settings.
  3. Merlot

    Merlot New Member

    Thanks a lot Till, that worked perfectly.

Share This Page