service pure-ftpd-mysql restart fails during install

Discussion in 'Installation/Configuration' started by schwim, Mar 26, 2019.

  1. schwim

    schwim Member

    Hi there everyone,

    Debian 9 fresh install, attempting to install ISPConfig following this tutorial.

    I am at the spot where I'm setting up FTP TLS. I can't restart the service due to the following error:

    -- Unit pure-ftpd-mysql.service has begun starting up.
    Mar 26 13:38:38 server pure-ftpd-mysql[23184]: Starting ftp server: /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/conf/TLSecho: No corresponding directi
    Mar 26 13:38:38 server systemd[1]: pure-ftpd-mysql.service: Control process exited, code=exited status=255
    Mar 26 13:38:38 server systemd[1]: Failed to start pure-ftpd-mysql.service.
    -- Subject: Unit pure-ftpd-mysql.service has failed
    -- Defined-By: systemd
    -- Support:
    -- Unit pure-ftpd-mysql.service has failed.
    -- The result is failed.
    Mar 26 13:38:38 server systemd[1]: pure-ftpd-mysql.service: Unit entered failed state.
    Mar 26 13:38:38 server systemd[1]: pure-ftpd-mysql.service: Failed with result 'exit-code'.

    Opening up /etc/pure-ftpd/conf/TLSecho, I find it to be completely blank.

    I've managed to Google through previous errors but this one has me stumped. What do I need to do to get past this portion of the install?

    Thanks for your time!
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I think you should not have a file named
    Where did that come from?
    You should have file /etc/pure-ftpd/conf/TLS that looks like this:
    [email protected]:/etc/pure-ftpd/conf# cat /etc/pure-ftpd/conf/TLS
    [email protected]:/etc/pure-ftpd/conf# 
  3. schwim

    schwim Member

    I have that but when I try starting/restarting ftp as instructed in the intall tutorial, I receive:

    systemctl status:
    and journalctl -xe:
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you made typo while following the tutorial, as @Taleman suggested already. The tutorial contains this command:

    echo 1 > /etc/pure-ftpd/conf/TLS

    This creates a file /etc/pure-ftpd/conf/TLS which contains the number 1. A file /etc/pure-ftpd/conf/TLSecho is nowhere created in the guide, so remove that file:

    rm /etc/pure-ftpd/conf/TLSecho

    and restart pure-ftpd-mysql
    schwim likes this.

Share This Page