Applicable to:
- Plesk Obsidian for Linux
- Plesk for Linux
Symptoms
- After Plesk upgrade, subscription creation fails:
PLESK_ERROR: hosting update is failed: 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" error occurred.
or:
PLESK_ERROR: 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.
The same error appears when accessing Tools & Settings > Fail2ban > Jails tab.
- Duplicate packages can be found in the system:
# rpm -qa | grep fail2ban
fail2ban-0.10.3.1-2.centos.7+p18.0.29.1+t200807.1333.noarch
fail2ban-0.10.3.1-2.centos.7+p18.0.23.0+t191224.1303.noarch
plesk-fail2ban-configurator-18.0-2.centos.7+p18.0.29.1+t200807.1333.noarch
plesk-fail2ban-configurator-18.0-2.centos.7+p18.0.26.0+t200410.1427.noarch
Cause
Duplicated packages in the RPM database.
Resolution
Remove duplicate packages using a solution from Yum fails to resolve dependencies: package is a duplicate with
Comments
0 comments
Please sign in to leave a comment.