Restarting ftp server

Discussion in 'General' started by onastvar, Oct 18, 2014.

  1. onastvar

    onastvar Member

  2. srijan

    srijan New Member HowtoForge Supporter

  3. onastvar

    onastvar Member

    Srijan thanks!
    My TLS file name was already in upper case letters.

    What's the content of TLS file?

    When I open TLS file I only see number 1 is that correct?
     
  4. srijan

    srijan New Member HowtoForge Supporter

  5. onastvar

    onastvar Member

    Yes, I'm using Debian Wheezy.
    I followed "14 Install PureFTPd And Quota", and I still get same message:

    service pure-ftpd-mysql restart
    Restarting ftp server: /usr/sbin/pure-ftpd-wrapper: Invalid configuration file /etc/pure-ftpd/conf/TLS: No corresponding directive


    Any ideas?
    Thanks in advance?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Seems as if you tried to protect the server against the poodle attack but instead of adding the new line in the wrapper script below the TLS line, you replaced the TLS line with the new line.
     
  7. onastvar

    onastvar Member

    Till thanks!

    I accidentally removed line (in red):

    'TLS' => ['-Y %d', \&parse_number_1],
    'TLSCipherSuite' => ['-J %s', \&parse_string],

    After I added line (in red) to /usr/sbin/pure-ftpd-wrapper
    now when I restart it works as expected.

    service pure-ftpd-mysql restart
    Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -H -8 UTF-8 -E -b -D -A -O clf:/var/log/pure-ftpd/transfer.log -Y 1 -J HIGH:MEDIUM:+TLSv1:!SSLv2:!SSLv3 -u 1000 -B
     

Share This Page