FTP Server wont start

Discussion in 'ISPConfig 3 Priority Support' started by NeonTigerUK, Oct 7, 2016.

  1. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    Hi All

    Followed the multi-Server setup in the manual, all servers appear to be updating and working perfectly, apart from the master (web1)

    FTP appears so be offline :(

    I've rebooted the serve > no change
    I've restarted the pure-ftp-mysql service > no change
    I've stopped pure-ftp-mysql > no errors
    Code:
    service pure-ftp-mysql stop
    I've started pure-ftp-mysql > no errors
    Code:
    service pure-ftp-mysql start
    Any ideas as to what I may have missed?
     
    Last edited: Oct 7, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the syslog for errors.
     
  3. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    All I can see that may be relevant in there is this ....
    Code:
    Oct  7 12:26:26 web1 pure-ftpd-mysql[2747]: Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -b -A -J ALL:!aNULL:!SSLv3 -H -u 1000 -Y 1 -E -8 UTF-8 -O clf:/var/log/pure$
    Oct  7 12:26:26 web1 systemd[1]: Started (null).
    Oct  7 12:26:26 web1 pure-ftpd: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/ssl/private/pure-ftpd.pem]
    I created the certificate as part of the procedure ... and it exists in the folder ...
    Code:
    -rw------- 1 root root     1708 Oct  7 10:57 pure-ftpd.pem
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats probably the reason for the error. But the permissions are ok, I have the same on my server:

    [email protected]:~# ls -la /etc/ssl/private/pure-ftpd.pem
    -rw------- 1 root root 2933 Apr 21 16:04 /etc/ssl/private/pure-ftpd.pem

    Maybe you should try to create a new ssl cert for pure-ftpd.
     
  5. NeonTigerUK

    NeonTigerUK Member HowtoForge Supporter

    deleted cert, re-created the cert, restarted pure-ftp-sql
    same result
    Code:
    Oct  7 15:35:55 web1 pure-ftpd-mysql[4329]: Stopping ftp server: pure-ftpd.
    
    Oct  7 15:35:55 web1 systemd[1]: Starting (null)...
    
    Oct  7 15:35:55 web1 pure-ftpd-mysql[4338]: Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -b -A -J ALL:!aNULL:!SSLv3 -H -u 1000 -Y 1 -E -8 UTF-8 -O clf:/var/log/pure$
    
    Oct  7 15:35:55 web1 systemd[1]: Started (null).
    
    Oct  7 15:35:55 web1 pure-ftpd: (?@?) [ERROR] Sorry, but that file doesn't exist: [/etc/ssl/private/pure-ftpd.pem]
    
    Still showing as offline in web1 panel
     

Share This Page