• 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

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