Topic: Just installed iRedMail 1.7.4 and fail2ban shows an errors and warning
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4
- Deployed with iRedMail Easy or the downloadable installer? Downloaded installer
- Linux/BSD distribution name and version: RHEL9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Ngix
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
systemctl status fail2ban
-------------------------------
ERROR 7f60908d02d0 -- exec: /usr/local/bin/fail2ban_banned_db start pregreet
ERROR 7f60908d02d0 -- stderr: '/bin/sh: /usr/local/bin/fail2ban_banned_db: /usr/local/bin/bash: bad interpreter: No such file or directory'
ERROR 7f60908d02d0 -- returned 126
ERROR Failed to start jail 'pregreet' action 'banned_db': Error starting action Jail('pregreet')/banned_db: 'Script error'
ERROR 7f60908d5330 -- exec: /usr/local/bin/fail2ban_banned_db start sogo
ERROR 7f60908d5330 -- stderr: '/bin/sh: /usr/local/bin/fail2ban_banned_db: /usr/local/bin/bash: bad interpreter: No such file or directory'
ERROR 7f60908d5330 -- returned 126
ERROR Failed to start jail 'sogo' action 'banned_db': Error starting action Jail('sogo')/banned_db: 'Script error'
WARNING [sogo] Detected a log entry 1h after the current time in operation mode. This looks like a timezone problem. Treating such entries as if they just happened.
WARNING [sogo] Please check a jail for a timing issue. Line with odd timestamp: Feb 24 10:59:17 sogod [1913]: version 5.12.4 (build @1961baeffeda 202602230748) -- starting
[CMD]# fail2ban-client status
Status
|- Number of jail: 6
`- Jail list: dovecot, nginx-http-auth, postfix, pregreet, sogo, sshd
Anyone who can provide info about this?
Thanks in advance,
Tinatiuh
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.