When trying to switch a rule on in jails, the following error appears:
# plesk bin ip_ban --enable-jails 'plesk-roundcube'
[2014-11-11 13:29:00] ERR [util_exec] proc_close() failed
f2bmng failed: WARNING Wrong value for 'loglevel' in 'Definition'. Using default one: '1'
ERROR Found no accessible config files for 'action.d/iptables-multiport' under /etc/fail2ban
ERROR Error in action definition iptables-multiport[name="plesk-roundcube", port="http,https,7080,7081"]
ERROR Errors in jail 'plesk-roundcube'. Skipping...
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-roundcube']' returned non-zero exit status 255
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-roundcube
Misconfiguration between jail rules and existing services
Back up jail file (
jail.local ) and reinstall Fail2ban with the following steps:
Back up the jail rules:
# cp /etc/fail2ban/jail.local ~/
Delete Fail2ban via Plesk GUI ( Tools & Settings > Updates & Upgrades ) or Plesk autoinstaller:
# plesk installer
Rename Fail2ban directory:
# mv /etc/fail2ban fail2ban_old
Install Fail2ban back via Plesk or autoinstaller.
# mv ~/jail.local /etc/fail2ban/
Try to switch the rule on via Plesk on Tools & Settings > IP Address Banning > Jails screen
If solution from above did not help use article #213374169 .