• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved Error: Unable to get the list of jails

DocF

New Pleskian
After upgrading to Obsidian, the following error is displayed when accessing Tools & Settings > IP Address Banning > Jails:

Error: Unable to get the list of jails: f2bmng failed: ERROR:__main__:Command '['/bin/rpm', '-qf', '--queryformat', '%{NAME}\\n', '/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.d/plesk.conf', '/etc/fail2ban/jail.local']' returned non-zero exit status 1.

fail2ban ist working, but I can't open the Jails list.

Any ideas?

Regards,
Christian
 
Looks like Fail2Ban jail misconfiguration.

Move the fail2ban configuration file outside of fail2ban folder:

# mv /etc/fail2ban/jail.local /root

Configure fail2ban again in Tools & Settings > IP Address Banning (Fail2Ban)
 
Thanks Igor,

complete uninstall fail2ban, remove /etc/fail2ban/, reinstall and configure fail2ban removes the error.

I compared old and new /etc/fail2ban and the only difference I noticed was that /etc/fail2ban/filter.d/postfix-sasl.conf was removed in the new installation.
 
Back
Top