• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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