Plesk for Linux
kb: technical
Symptoms
-
On a Plesk for Linux server, the tab Jails in the menu Tools & Settings > IP Address Banning (Fail2Ban) fails to open:
f2bmng failed: ERROR:__main__:No option 'logpath' in section: 'jail-name'
Cause
The customized Fail2Ban configuration file /etc/fail2ban/jail.local
or /etc/fail2ban/jail.d/local.conf
does not have the variable logpath
in some of jails.
Resolution
-
Connect to the server using SSH.
-
Open the customized Fail2Ban configuration file
/etc/fail2ban/jail.local
or/etc/fail2ban/jail.d/local.conf
for editing. -
Edit the custom jails so they have the variable
logpath
and save the changes, for example:[ssh]
enabled = true
logpath = /var/log/auth.log
...
...
Comments
0 comments
Please sign in to leave a comment.