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
'/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:
In Plesk 12 ProFTPD was upgraded to version 1.3.4d.
Create the file manually and set proper permissions:
touch /var/proftpd.delay chmod 664 /var/proftpd.delay
Restart proftpd service:
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
<IfModule mod_delay.c> DelayEngine off </IfModule>