• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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