<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — /usr/local/bin/fail2ban_banned_db interpreter]]></title>
		<link>https://forum.iredmail.org/topic20961-usrlocalbinfail2banbanneddb-interpreter.html</link>
		<atom:link href="https://forum.iredmail.org/feed-rss-topic20961.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in /usr/local/bin/fail2ban_banned_db interpreter.]]></description>
		<lastBuildDate>Wed, 20 Aug 2025 09:57:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: /usr/local/bin/fail2ban_banned_db interpreter]]></title>
			<link>https://forum.iredmail.org/post91167.html#p91167</link>
			<description><![CDATA[<p>I see that it`s fixed in the github version.</p>]]></description>
			<author><![CDATA[null@example.com (sorin.mitrica)]]></author>
			<pubDate>Wed, 20 Aug 2025 09:57:11 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91167.html#p91167</guid>
		</item>
		<item>
			<title><![CDATA[Re: /usr/local/bin/fail2ban_banned_db interpreter]]></title>
			<link>https://forum.iredmail.org/post91158.html#p91158</link>
			<description><![CDATA[<p>If it&#039;s helpful, here are my fail2ban errors and fixes posts:</p><p><a href="https://forum.iredmail.org/topic20748-openbsd-76-and-iredmail-172.html">https://forum.iredmail.org/topic20748-o … l-172.html</a></p><p><a href="https://forum.iredmail.org/topic20662-varlogdaemon-fail2banutilsxxx-error-xxx-no-such-file-or-direct.html">https://forum.iredmail.org/topic20662-v … irect.html</a></p><p><a href="https://forum.iredmail.org/topic20397-openbsd-fail2banfailed.html">https://forum.iredmail.org/topic20397-o … ailed.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Neovana)]]></author>
			<pubDate>Tue, 19 Aug 2025 07:46:23 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91158.html#p91158</guid>
		</item>
		<item>
			<title><![CDATA[/usr/local/bin/fail2ban_banned_db interpreter]]></title>
			<link>https://forum.iredmail.org/post91157.html#p91157</link>
			<description><![CDATA[<p>==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====<br />- iRedMail version (check /etc/iredmail-release): <br />- Deployed with iRedMail Easy or the downloadable installer?<br />- Linux/BSD distribution name and version: <br />- Store mail accounts in which backend (LDAP/MySQL/PGSQL): <br />- Web server (Apache or Nginx):<br />- Manage mail accounts with iRedAdmin-Pro?<br />- [IMPORTANT] Related original log or error message is required if you&#039;re experiencing an issue.<br />====</p><p>iRedMail 1.7.4<br />Deployed with downloadable installer<br />Debian 12<br />Mysql backend<br />Nginx<br />no iredadmin-pro</p><p>/usr/local/bin/fail2ban_banned_db floods fail2ban.log with errors </p><p>2025-08-18T12:27:20.642058+00:00 mail fail2ban.filter[137]: INFO Added logfile: &#039;/var/log/mail.log&#039; (pos = 5034, hash = ce701690a4c289b9d4f9f754e2b061a76c3f7e5c)<br />2025-08-18T12:27:20.642096+00:00 mail fail2ban.utils[137]: ERROR 746cc02680f0 -- exec: /usr/local/bin/fail2ban_banned_db start sshd<br />2025-08-18T12:27:20.642140+00:00 mail fail2ban.utils[137]: ERROR 746cc02680f0 -- stderr: &#039;/bin/sh: 1: /usr/local/bin/fail2ban_banned_db: not found&#039;<br />2025-08-18T12:27:20.642183+00:00 mail fail2ban.utils[137]: ERROR 746cc02680f0 -- returned 127<br />2025-08-18T12:27:20.642224+00:00 mail fail2ban.utils[137]: INFO HINT on 127: &quot;Command not found&quot;.&nbsp; Make sure that all commands in &#039;/usr/local/bin/fail2ban_banned_db start sshd&#039; are in the PATH of fail2ban-server process (grep -a PATH= /&gt;<br />2025-08-18T12:27:20.642270+00:00 mail fail2ban.actions[137]: ERROR Failed to start jail &#039;sshd&#039; action &#039;banned_db&#039;: Error starting action Jail(&#039;sshd&#039;)/banned_db: &#039;Script error&#039;<br />2025-08-18T12:27:20.642347+00:00 mail fail2ban.jail[137]: INFO Jail &#039;sshd&#039; started<br />2025-08-18T12:27:20.642418+00:00 mail fail2ban.jail[137]: INFO Jail &#039;nginx-http-auth&#039; started<br />2025-08-18T12:27:20.642521+00:00 mail fail2ban.utils[137]: ERROR 746cc02682d0 -- exec: /usr/local/bin/fail2ban_banned_db start nginx<br />2025-08-18T12:27:20.642594+00:00 mail fail2ban.jail[137]: INFO Jail &#039;postfix&#039; started<br />2025-08-18T12:27:20.642671+00:00 mail fail2ban.utils[137]: ERROR 746cc02682d0 -- stderr: &#039;/bin/sh: 1: /usr/local/bin/fail2ban_banned_db: not found&#039;<br />2025-08-18T12:27:20.642744+00:00 mail fail2ban.utils[137]: ERROR 746cc02682d0 -- returned 127<br />2025-08-18T12:27:20.642807+00:00 mail fail2ban.utils[137]: INFO HINT on 127: &quot;Command not found&quot;.&nbsp; Make sure that all commands in &#039;/usr/local/bin/fail2ban_banned_db start nginx&#039; are in the PATH of fail2ban-server process (grep -a PATH= &gt;<br />2025-08-18T12:27:20.642873+00:00 mail fail2ban.actions[137]: ERROR Failed to start jail &#039;nginx-http-auth&#039; action &#039;banned_db-nginx&#039;: Error starting action Jail(&#039;nginx-http-auth&#039;)/banned_db-nginx: &#039;Script error&#039;<br />2025-08-18T12:27:20.642944+00:00 mail fail2ban.jail[137]: INFO Jail &#039;dovecot&#039; started<br />2025-08-18T12:27:20.643011+00:00 mail fail2ban.jail[137]: INFO Jail &#039;pregreet&#039; started<br />2025-08-18T12:27:20.643077+00:00 mail fail2ban.utils[137]: ERROR 746cc02685d0 -- exec: /usr/local/bin/fail2ban_banned_db start postfix<br />2025-08-18T12:27:20.643144+00:00 mail fail2ban.utils[137]: ERROR 746cc02685d0 -- stderr: &#039;/bin/sh: 1: /usr/local/bin/fail2ban_banned_db: not found&#039;</p><br /><p>The head interpreter for /usr/local/bin/fail2ban_banned_db scripts is #!/usr/local/bin/bash and it`s not ok on a vanilla debian install. After I corrected the script to use #!/bin/bash<br />, everything is ok. no more errors.</p>]]></description>
			<author><![CDATA[null@example.com (sorin.mitrica)]]></author>
			<pubDate>Tue, 19 Aug 2025 07:38:39 +0000</pubDate>
			<guid>https://forum.iredmail.org/post91157.html#p91157</guid>
		</item>
	</channel>
</rss>
