Fail2ban and proftpd are not working

The solution to the problem explained here: