1 (edited by sorin.mitrica 2025-06-04 19:53:01)

Topic: upgrade from openbsd 7.6 to 7.7 - fail2ban

Iredmail 1.7.4, mariadb backend, openbsd 7.7, deployed with the downloadable installer, running on nginx. I don`t manage accounts with iredadmin-pro

After the sysupgrade and pkg_add -u to openbsd 7.7, fail2ban doesn`t start.

mail# rcctl start fail2ban
fail2ban(failed)

mail# fail2ban-server
Traceback (most recent call last):
  File "/usr/local/bin/fail2ban-server", line 34, in <module>
    from fail2ban.client.fail2banserver import exec_command_line, sys
ModuleNotFoundError: No module named 'fail2ban'

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: upgrade from openbsd 7.6 to 7.7 - fail2ban

Run `fail2ban-client -x start`, any error?

3

Re: upgrade from openbsd 7.6 to 7.7 - fail2ban

ZhangHuangbin wrote:

Run `fail2ban-client -x start`, any error?


mail# fail2ban-client -x start
Traceback (most recent call last):
  File "/usr/local/bin/fail2ban-client", line 34, in <module>
    from fail2ban.client.fail2banclient import exec_command_line, sys
ModuleNotFoundError: No module named 'fail2ban'

4

Re: upgrade from openbsd 7.6 to 7.7 - fail2ban

Try to download Fail2ban and install again.