• 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.

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