PureFtpd Does'nt work anymore …

Discussion in 'Installation/Configuration' started by kameleon1er, Oct 6, 2020.

  1. kameleon1er

    kameleon1er Member

    Hi guys,
    apparently pureFtpd doesn't work, it seems that the ssl files are missing.
    Code:
    service pure-ftpd-mysql status
    ● pure-ftpd-mysql.service
       Loaded: loaded (/etc/init.d/pure-ftpd-mysql; generated)
       Active: active (exited) since Tue 2020-10-06 16:17:38 UTC; 4min 9s ago
         Docs: man:systemd-sysv-generator(8)
      Process: 6600 ExecStart=/etc/init.d/pure-ftpd-mysql start (code=exited, status=0/SUCCESS)
    
    Oct 06 16:17:38 srv-b.democrasite.com systemd[1]: Starting pure-ftpd-mysql.service...
    Oct 06 16:17:38 srv-b.democrasite.com pure-ftpd-mysql[6600]: Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pu
    Oct 06 16:17:38 srv-b.democrasite.com systemd[1]: Started pure-ftpd-mysql.service.
    Oct 06 16:17:38 srv-b.democrasite.com pure-ftpd[6611]: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/ssl/private/pure-ftpd.pem]
    IspConfPanel > FTP-Server: Offline
    Can I recreate just this part from the PerfectGuide Buster? Or how can I solve the problem?

    Thanks
     
  2. kameleon1er

    kameleon1er Member

    also :
    Code:
    /usr/local/ispconfig/interface/ssl# ls -lah
    total 40K
    drwxr-x--- 2 root      root      4.0K Sep 29 03:00 .
    drwxr-x--- 9 ispconfig ispconfig 4.0K Sep 16 14:03 ..
    -rwxr-x--- 1 root      root        45 Sep 29 03:00 empty.dir
    -rwxr-x--- 1 root      root      2.2K Sep 29 02:27 ispserver.cert
    -rwxr-x--- 1 root      root      2.2K Sep 29 03:00 ispserver.crt
    -rwxr-x--- 1 root      root      2.2K Sep 16 14:03 ispserver.crt-200929013015.bak
    -rwxr-x--- 1 root      root      1.8K Sep 29 03:00 ispserver.csr
    -rwxr-x--- 1 root      root      3.2K Sep 29 03:00 ispserver.key
    -rwxr-x--- 1 root      root      3.2K Sep 16 14:03 ispserver.key-200929013030.bak
    -rwxr-x--- 1 root      root      3.3K Sep 29 02:59 ispserver.key.secure
    -rwxr-x--- 1 root      root         0 Sep 29 01:31 ispserver.pem
     
  3. kameleon1er

    kameleon1er Member

    Fixed I guess with help from https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate
    Code:
    service pure-ftpd-mysql status
    ● pure-ftpd-mysql.service
       Loaded: loaded (/etc/init.d/pure-ftpd-mysql; generated)
       Active: active (running) since Tue 2020-10-06 16:48:16 UTC; 5min ago
         Docs: man:systemd-sysv-generator(8)
        Tasks: 1 (limit: 4672)
       Memory: 2.1M
       CGroup: /system.slice/pure-ftpd-mysql.service
               └─8561 pure-ftpd (SERVER)
    
    But now, I have other problems :
    Code:
    Status: Connected to 163.172.143.149:21 .
    Status: Connection established, waiting for greeting message...
    Status: TLS initialization...
    Status : Checking the certificate...
    Status : TLS connection established.
    Status : Connected
    Status: Recovering the contents of the folder .
    Status: The server has sent a passive response with a non-routable address. Address replaced by that of the server.
    Command: MLSD
    Error: Data connection cannot be established: ETIMEDOUT - Connection attempt expired
    Error: Connection interrupted after 20 seconds of inactivity
    Error: Unable to retrieve the contents of the folder
    Status : Disconnected from the server
    Status: Connected to 163.172.143.149:21 .
    Status: Connection established, waiting for greeting message...
    Status: TLS initialization...
    Status : Checking the certificate...
    Status : TLS connection established.
    Status : Connected
    Status: Recovering the contents of the folder .
    Status: The server has sent a passive response with a non-routable address. Address replaced by that of the server.
    Command: MLSD
    Error: Data connection cannot be established: ETIMEDOUT - Connection attempt expired
    Error: Connection interrupted after 20 seconds of inactivity
    Error: Unable to retrieve the contents of the folder
    
    Translated with www.DeepL.com/Translator (free version)
     
  4. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    configure ForcePassiveIP and PassivePortRange and make sure that the port range you specify is also open in any local firewall/iptables and in any firewall you have in front of that server.
     
    ahrasis and Qsai Wolf PS like this.
  5. Qsai Wolf PS

    Qsai Wolf PS New Member

    thank you
     

Share This Page