still same
tail -n200 /var/log/fail2ban.log
2022-08-19 12:43:08,775 fail2ban.server [45318]: INFO --------------------------------------------------
2022-08-19 12:43:08,776 fail2ban.server [45318]: INFO Starting Fail2ban v1.0.1.dev1
2022-08-19 12:43:08,776 fail2ban.server [45318]: INFO Daemon started
2022-08-19 12:43:08,777 fail2ban.observer [45318]: INFO Observer start...
2022-08-19 12:43:08,868 fail2ban.database [45318]: INFO Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3'
2022-08-19 12:43:14,876 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:43:19,510 fail2ban.transmitter [45318]: WARNING Command ['status', 'ftpd'] has failed. Received UnknownJailException('ftpd')
2022-08-19 12:44:45,914 fail2ban.server [45318]: INFO Reload all jails
2022-08-19 12:44:45,916 fail2ban.jail [45318]: INFO Creating new jail 'ftpd'
2022-08-19 12:44:46,358 fail2ban.jail [45318]: INFO Jail 'ftpd' uses pyinotify {}
2022-08-19 12:44:46,366 fail2ban.jail [45318]: INFO Initiated 'pyinotify' backend
2022-08-19 12:44:46,378 fail2ban.filter [45318]: INFO maxRetry: 5
2022-08-19 12:44:46,378 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:44:46,379 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:44:46,379 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:44:46,380 fail2ban.filter [45318]: INFO Added logfile: '/var/log/messages' (pos = 0, hash = da39a3ee5e6b4b0d3255bfef95601890afd80709)
2022-08-19 12:44:46,385 fail2ban.jail [45318]: INFO Jail 'ftpd' started
2022-08-19 12:44:46,385 fail2ban.server [45318]: INFO Reload finished.
2022-08-19 12:44:46,414 fail2ban.utils [45318]: ERROR 7f8390ba72f0 -- exec: printf %b "Subject: [Fail2Ban] ftpd: started on Server-instance
Date: `LC_ALL=C date +"%a, %d %h %Y %T %z"`
From: Fail2Ban <root@Server-instance>
To: root@localhost\n
Hi,\n
The jail ftpd has been started successfully.\n
Regards,\n
Fail2Ban" | /usr/sbin/sendmail -f "root@Server-instance" "root@localhost"
2022-08-19 12:44:46,415 fail2ban.utils [45318]: ERROR 7f8390ba72f0 -- stderr: '/bin/sh: line 8: /usr/sbin/sendmail: No such file or directory'
2022-08-19 12:44:46,416 fail2ban.utils [45318]: ERROR 7f8390ba72f0 -- returned 127
2022-08-19 12:44:46,416 fail2ban.utils [45318]: INFO HINT on 127: "Command not found". Make sure that all commands in 'printf %b "Subject: [Fail2Ban] ftpd: started on Server-instance\nDate: `LC_ALL=C date +"%a, %d %h %Y %T %z"`\nFrom: Fail2Ban <root@Server-instance>\nTo: root@localhost\\n\nHi,\\n\nThe jail ftpd has been started successfully.\\n\nRegards,\\n\nFail2Ban" | /usr/sbin/sendmail -f "root@Server-instance" "root@localhost"' are in the PATH of fail2ban-server process (grep -a PATH= /proc/`pidof -x fail2ban-server`/environ). You may want to start "fail2ban-server -f" separately, initiate it with "fail2ban-client reload" in another shell session and observe if additional informative error messages appear in the terminals.
2022-08-19 12:44:46,416 fail2ban.actions [45318]: ERROR Failed to start jail 'ftpd' action 'sendmail-whois-lines': Error starting action Jail('ftpd')/sendmail-whois-lines: 'Script error'
2022-08-19 12:44:51,951 fail2ban.server [45318]: INFO Reload all jails
2022-08-19 12:44:51,952 fail2ban.server [45318]: INFO Reload jail 'ftpd'
2022-08-19 12:44:51,954 fail2ban.filter [45318]: INFO maxRetry: 2
2022-08-19 12:44:51,954 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:44:51,955 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:44:51,955 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:44:51,955 fail2ban.server [45318]: INFO Jail 'ftpd' reloaded
2022-08-19 12:44:51,956 fail2ban.server [45318]: INFO Reload finished.
2022-08-19 12:44:59,163 fail2ban.server [45318]: INFO Reload all jails
2022-08-19 12:44:59,164 fail2ban.server [45318]: INFO Reload jail 'ftpd'
2022-08-19 12:44:59,165 fail2ban.filter [45318]: INFO maxRetry: 2
2022-08-19 12:44:59,166 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:44:59,166 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:44:59,166 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:44:59,167 fail2ban.server [45318]: INFO Jail 'ftpd' reloaded
2022-08-19 12:44:59,167 fail2ban.server [45318]: INFO Reload finished.
2022-08-19 12:45:00,897 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:09,902 fail2ban.server [45318]: INFO Reload all jails
2022-08-19 12:45:09,904 fail2ban.server [45318]: INFO Reload jail 'ftpd'
2022-08-19 12:45:09,905 fail2ban.filter [45318]: INFO maxRetry: 2
2022-08-19 12:45:09,905 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:45:09,905 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:45:09,906 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:45:09,907 fail2ban.server [45318]: INFO Jail 'ftpd' reloaded
2022-08-19 12:45:09,907 fail2ban.server [45318]: INFO Reload finished.
2022-08-19 12:45:21,508 fail2ban.server [45318]: INFO Reload all jails
2022-08-19 12:45:21,509 fail2ban.server [45318]: INFO Reload jail 'ftpd'
2022-08-19 12:45:21,511 fail2ban.filter [45318]: INFO maxRetry: 2
2022-08-19 12:45:21,511 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:45:21,511 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:45:21,511 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:45:21,512 fail2ban.server [45318]: INFO Jail 'ftpd' reloaded
2022-08-19 12:45:21,512 fail2ban.server [45318]: INFO Reload finished.
2022-08-19 12:45:24,306 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:28,915 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:31,425 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:32,780 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:33,997 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:35,137 fail2ban.transmitter [45318]: WARNING Command ['status', 'sshd'] has failed. Received UnknownJailException('sshd')
2022-08-19 12:45:46,383 fail2ban.server [45318]: INFO Reload all jails
2022-08-19 12:45:46,384 fail2ban.server [45318]: INFO Reload jail 'ftpd'
2022-08-19 12:45:46,385 fail2ban.filter [45318]: INFO maxRetry: 2
2022-08-19 12:45:46,386 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:45:46,386 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:45:46,386 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:45:46,387 fail2ban.jail [45318]: INFO Creating new jail 'mysql'
2022-08-19 12:45:46,387 fail2ban.jail [45318]: INFO Jail 'mysql' uses pyinotify {}
2022-08-19 12:45:46,396 fail2ban.jail [45318]: INFO Initiated 'pyinotify' backend
2022-08-19 12:45:46,402 fail2ban.filter [45318]: INFO maxRetry: 2
2022-08-19 12:45:46,402 fail2ban.filter [45318]: INFO findtime: 300
2022-08-19 12:45:46,402 fail2ban.actions [45318]: INFO banTime: 86400
2022-08-19 12:45:46,402 fail2ban.filter [45318]: INFO encoding: UTF-8
2022-08-19 12:45:46,409 fail2ban.filter [45318]: INFO Added logfile: '/www/server/data/Server-instance.err' (pos = 0, hash = f5e43c59f16641e0b013127fc093f329dfef36ef)
2022-08-19 12:45:46,432 fail2ban.server [45318]: INFO Jail 'ftpd' reloaded
2022-08-19 12:45:46,439 fail2ban.jail [45318]: INFO Jail 'mysql' started
2022-08-19 12:45:46,441 fail2ban.server [45318]: INFO Reload finished.
2022-08-19 12:45:46,448 fail2ban.utils [45318]: ERROR 7f8390ba7870 -- exec: printf %b "Subject: [Fail2Ban] mysql: started on Server-instance
Date: `LC_ALL=C date +"%a, %d %h %Y %T %z"`
From: Fail2Ban <root@Server-instance>
To: root@localhost\n
Hi,\n
The jail mysql has been started successfully.\n
Regards,\n
Fail2Ban" | /usr/sbin/sendmail -f "root@Server-instance" "root@localhost"
2022-08-19 12:45:46,449 fail2ban.utils [45318]: ERROR 7f8390ba7870 -- stderr: '/bin/sh: line 8: /usr/sbin/sendmail: No such file or directory'
2022-08-19 12:45:46,449 fail2ban.utils [45318]: ERROR 7f8390ba7870 -- returned 127
2022-08-19 12:45:46,449 fail2ban.utils [45318]: INFO HINT on 127: "Command not found". Make sure that all commands in 'printf %b "Subject: [Fail2Ban] mysql: started on Server-instance\nDate: `LC_ALL=C date +"%a, %d %h %Y %T %z"`\nFrom: Fail2Ban <root@Server-instance>\nTo: root@localhost\\n\nHi,\\n\nThe jail mysql has been started successfully.\\n\nRegards,\\n\nFail2Ban" | /usr/sbin/sendmail -f "root@Server-instance" "root@localhost"' are in the PATH of fail2ban-server process (grep -a PATH= /proc/`pidof -x fail2ban-server`/environ). You may want to start "fail2ban-server -f" separately, initiate it with "fail2ban-client reload" in another shell session and observe if additional informative error messages appear in the terminals.
2022-08-19 12:45:46,449 fail2ban.actions [45318]: ERROR Failed to start jail 'mysql' action 'sendmail-whois-lines': Error starting action Jail('mysql')/sendmail-whois-lines: 'Script error'
thanks