FTP issue

Created:

2016-11-16 12:40:16 UTC

Modified:

2017-04-24 12:15:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

FTP issue

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Symptoms

FTP is not working. While checking the logs, I got the below error. unable to open DelayTable '/var/proftpd.delay' : No such file or directory

And when I do proftpd -td5 I get:

# proftpd -td5

Checking syntax of configuration file
- notice: unable to bind to Unix domain socket at `'/var/proftpd.delay'`: No such file or directory

Cause

This file '/var/proftpd.delay' is missing possibly because of Proftpd bug . As it has been reported there the issue should be fixed since proftpd 1.2.10-8 . The file '/var/proftpd.delay' uses by mod_delay for storing its timing data. The mod_delay module is designed to make a certain type of information leak, known as a "timing attack", harder. It is recommended that this file not be on an NFS mounted partition.

The same issues were discussed on the forums:

Ubuntu

OpenSUSE

ArchLinux

In Plesk 12 ProFTPD was upgraded to version 1.3.4d.

Resolution

Create the file manually and set proper permissions:

touch /var/proftpd.delay
chmod 664 /var/proftpd.delay

Restart proftpd service:

/etc/init.d/proftpd restart

Make sure that the access to the file was not blocked by SELinux or AppArmor:

grep proftpd.delay /var/log/audit/audit.log

You can also disable mod_delay module. To list all compiled-in modules run :

# proftpd --list
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_delay.c
mod_facts.c
mod_ident.c
mod_auth_pam.c
mod_ratio.c
mod_readme.c
mod_quotatab.c
mod_quotatab_file.c
mod_tls.c
mod_cap.c
mod_lang.c

To disable mod_delay, simply add the following to your /etc/proftpd.conf file:

  <IfModule mod_delay.c>
DelayEngine off
</IfModule>
Have more questions? Submit a request
Please sign in to leave a comment.