• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

No i can activate Jails apache in fail2ban

RubénN

New Pleskian
f2bmng failed: ERROR NOK: ('plesk-apache',)
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR NOK: (13, 'Permission denied')
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-apache']' returned non-zero exit status 255
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-apache

In fail2ban.log:

fail2ban.comm [31357]: WARNING Command ['set', 'plesk-apache', 'addlogpath', '/var/www/vhosts/system/domain1.tld/logs/error_log'] has failed. Received IOError(13, 'Permission denied')
fail2ban.comm [31357]: WARNING Command ['set', 'plesk-apache', 'addlogpath', '/var/www/vhosts/system/domain2.tld/logs/error_log'] has failed. Received IOError(13, 'Permission denied')
.....
 
Last edited:
What is the user your fail2ban daemon runs under? What permissions do error_log files have? Do you have selinux or anything similar enabled?
 
Back
Top