• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Fail2ban fills up log with "findFailure failed to parse timeText"

Sander V

New Pleskian
See subject. I've had this issue a few times now.

The standard solution is to stop fail2ban, remove /var/log/fail2ban* and reinstall fail2ban.

However, today it happened again and the above solution didn't work. Even removing /etc/fail2ban before reinstalling didn't work.

I've determined that the cause is the plesk-panel jail in combination with the recidive jail. The former jail uses /var/log/plesk/panel.log, which could contain timestamps without a year. Fail2ban then throws the parse error a few times. Since the error also contains a timestamp without a year, the recidive jail (which monitors the fail2ban log itself) puts fail2ban in an infinite loop.

The solution is to put "datepattern = %%Y-%%m-%%d %%H:%%M:%%S" (without the quotes) in the [Init] section of the jail filter for both plesk-panel and recidive.
 
Back
Top