Rene Wrote:setz mal vorrübergehend, bis der das Logfile durch hat, maxretry auf 10 (oder evtl. höher)...
O.K. werde ich mal probieren.
Hier wäre noch eine Möglichkeit .. eventl. fail2ban per cron stündlich restarten und diese Änderungen:
Code:
If fail2ban does not start correctly after a system crash or power loss, check to see whether the socket file still exists:
# rm /tmp/fail2ban.sock
# /etc/init.d/fail2ban start
* Starting fail2ban ... [ ok ]
You can add the following to /etc/conf.d/fail2ban to prevent it from happening again.
FAIL2BAN_OPTIONS="-x"
The -x option will force fail2ban to overwrite the current stale socket.