Unable to start fail2ban service: Have not found any log file for plesk-modsecurity jail

Created:

2017-01-21 03:56:24 UTC

Modified:

2017-08-08 13:41:31 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start fail2ban service: Have not found any log file for plesk-modsecurity jail

Applicable to:

  • Plesk for Linux

Symptoms

Unable to start fail2ban service. The following error message can be found:

fail2ban-client[27549]: ERROR No file(s) found for glob /var/log/modsec_audit.log
fail2ban-client[27549]: ERROR Failed during configuration: Have not found any log file for plesk-modsecurity jail

ModSecurity is not installed on the server.

Cause

plesk-modsecurity jail is enabled in configuration.

Resolution

Remove the following lines from /etc/fail2ban/jail.local and start fail2ban service:

[plesk-modsecurity]
enabled = true
Have more questions? Submit a request
Please sign in to leave a comment.