Article 6M363 [SOLVED] Fail2ban-1.0.2 don't start anymore on current, please help

[SOLVED] Fail2ban-1.0.2 don't start anymore on current, please help

by
Eeel
from LinuxQuestions.org on (#6M363)
I use the Ponce Slackbuild to build version 1.0.2 from fail2ban but i realized it doesn't start anymore since ~ Apr 3

Code:# /etc/rc.d/rc.fail2ban start
Starting fail2ban
Traceback (most recent call last):
File "/usr/bin/fail2ban-client", line 34, in <module>
from fail2ban.client.fail2banclient import exec_command_line, sys
File "/usr/lib/python3.11/site-packages/fail2ban/client/fail2banclient.py", line 39, in <module>
from ..server.utils import Utils
File "/usr/lib/python3.11/site-packages/fail2ban/server/utils.py", line 56, in <module>
for name, num in signal.__dict__.iteritems() if name.startswith("SIG"))
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'iteritems'I tried to replace iteritems() by items() but i have zero knowledge in python and it did not solve the issue.

Does anyone have experienced this error and have a fix ?

EDIT:
by the way there is a small typo in paths-slackware.conf from the Slackbuild:

Code:
apache_error_log = /var/log/httpd/*error.log
apache_access_log = /var/log/httpd/*access.log

should be:

apache_error_log = /var/log/httpd/*error_log
apache_access_log = /var/log/httpd/*access_log
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments