Page 1 of 1

fail2ban jail.local entries

Posted: Sun Mar 18, 2018 1:05 am
by MAN5
Hi,
On the etc/fail2ban/jail.local > I enabled for MySQL. > but afterthat, unable to restart fail2ban.

I have an entry as "logpath = /var/log/mysql.log"
But i have no such file..
instead im having the mysql error logs on "/var/log/mysql/error.log".
Once i set my jail.local entry as "/var/log/mysql/error.log" > than it works fine.

questn :
1. So the vestacp's default jail.local > Mysql entry is correct ? If its correct, i can take it may my server had some changes.
2. If the vestacp's default jail.local > Mysql entry is not-correct ? vestacp deve team have to look onto this..