claxman
New Pleskian
I receive an email every day at "03:32" with the time zone of (GMT +03:00) Europe/Istanbul. The email is sent from a mail server, and it indicates that the "IP Address Ban (Fail2Ban)" is automatically disabled at this time every night. I have to reactivate "Fail2Ban" every day.
I have attached the daily logs and email content before Fail2Ban closes. I have tried various changes for a week to determine the cause of this error. For example, I permanently deleted Fail2ban and reinstalled it from the Plesk updates section. I also changed Fail2Ban settings. However, the same problem persists.
I would be happy if you could help me with what I can do to prevent Fail2ban from automatically closing.
Mail Content:

Plesk Dashbord:

Fail2Ban Logs "/var/log/fail2ban.log":
I have attached the daily logs and email content before Fail2Ban closes. I have tried various changes for a week to determine the cause of this error. For example, I permanently deleted Fail2ban and reinstalled it from the Plesk updates section. I also changed Fail2Ban settings. However, the same problem persists.
I would be happy if you could help me with what I can do to prevent Fail2ban from automatically closing.
Mail Content:

Plesk Dashbord:

Fail2Ban Logs "/var/log/fail2ban.log":
2023-02-12 03:25:46,514 fail2ban.filter [2645835]: INFO [plesk-postfix] Found 141.98.11.146 - 2023-02-12 03:25:45
2023-02-12 03:26:25,678 fail2ban.filter [2645835]: INFO [plesk-postfix] Found 141.98.11.93 - 2023-02-12 03:26:25
2023-02-12 03:26:32,028 fail2ban.filter [2645835]: INFO [plesk-postfix] Found 141.98.10.72 - 2023-02-12 03:26:32
2023-02-12 03:27:36,153 fail2ban.server [2645835]: INFO Shutdown in progress...
2023-02-12 03:27:36,153 fail2ban.observer [2645835]: INFO Observer stop ... try to end queue 5 seconds
2023-02-12 03:27:36,207 fail2ban.observer [2645835]: INFO Observer stopped, 0 events remaining.
2023-02-12 03:27:36,233 fail2ban.server [2645835]: INFO Stopping all jails
2023-02-12 03:27:36,233 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain1.org/logs/access_log'
2023-02-12 03:27:36,246 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain1.org/logs/access_ssl_log'
2023-02-12 03:27:36,246 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/httpd/access_log'
2023-02-12 03:27:36,253 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain13.org/logs/access_log'
2023-02-12 03:27:36,253 fail2ban.filter [2645835]: ERROR Unable to get failures in /var/log/fail2ban.log
2023-02-12 03:27:36,253 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/fail2ban.log'
2023-02-12 03:27:36,253 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/plesk-roundcube/errors'
2023-02-12 03:27:36,258 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/plesk/panel.log'
2023-02-12 03:27:36,263 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain8.org/logs/error_log'
2023-02-12 03:27:36,265 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain14.org/logs/error_log'
2023-02-12 03:27:36,265 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain13.org/logs/error_log'
2023-02-12 03:27:36,265 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/httpd/error_log'
2023-02-12 03:27:36,265 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain5.org/logs/error_log'
2023-02-12 03:27:36,266 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain4.org/logs/error_log'
2023-02-12 03:27:36,271 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/maillog'
2023-02-12 03:27:36,272 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/secure'
2023-02-12 03:27:36,272 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/maillog'
2023-02-12 03:27:36,276 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/modsec_audit.log'
2023-02-12 03:27:36,280 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/secure'
2023-02-12 03:27:36,284 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain1.org/logs/access_log'
2023-02-12 03:27:36,285 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain2.org/logs/proxy_access_log'
2023-02-12 03:27:36,290 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain1.org/logs/proxy_access_ssl_log'
2023-02-12 03:27:36,291 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain1.org/logs/proxy_access_log'
2023-02-12 03:27:36,291 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain1.org/logs/access_ssl_log'
2023-02-12 03:27:36,291 fail2ban.filter [2645835]: INFO Removed logfile: '/var/log/httpd/access_log'
2023-02-12 03:27:36,291 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain13.org/logs/proxy_access_ssl_log'
2023-02-12 03:27:36,293 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain8.org/logs/access_ssl_log'
2023-02-12 03:27:36,293 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain5.org/logs/proxy_access_log'
2023-02-12 03:27:36,293 fail2ban.actions [2645835]: NOTICE [plesk-panel] Flush ticket(s) with iptables-multiport-plesk-login
2023-02-12 03:27:36,293 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain15.org/logs/access_ssl_log'
2023-02-12 03:27:36,294 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain10.org/logs/access_ssl_log'
2023-02-12 03:27:36,294 fail2ban.actions [2645835]: NOTICE [plesk-apache] Flush ticket(s) with iptables-multiport-apache
2023-02-12 03:27:36,294 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain3.org/logs/proxy_access_ssl_log'
2023-02-12 03:27:36,295 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain14.org/logs/proxy_access_log'
2023-02-12 03:27:36,295 fail2ban.filter [2645835]: INFO Removed logfile: '/var/www/vhosts/system/domain13.org/logs/access_log'
2023-02-12 03:27:36,302 fail2ban.actions [2645835]: NOTICE [plesk-dovecot] Flush ticket(s) with iptables-multiport
2023-02-12 03:27:36,359 fail2ban.actions [2645835]: NOTICE [plesk-roundcube] Flush ticket(s) with iptables-multiport
2023-02-12 03:27:36,367 fail2ban.actions [2645835]: NOTICE [plesk-apache-badbot] Flush ticket(s) with iptables-multiport-BadBots
2023-02-12 03:27:36,378 fail2ban.actions [2645835]: NOTICE [plesk-wordpress] Flush ticket(s) with iptables-multiport
2023-02-12 03:27:36,413 fail2ban.actions [2645835]: NOTICE [plesk-proftpd] Flush ticket(s) with iptables-multiport
2023-02-12 03:27:36,428 fail2ban.actions [2645835]: NOTICE [ssh] Flush ticket(s) with iptables
2023-02-12 03:27:36,455 fail2ban.actions [2645835]: NOTICE [plesk-modsecurity] Flush ticket(s) with iptables-multiport
2023-02-12 03:27:36,466 fail2ban.actions [2645835]: NOTICE [plesk-postfix] Flush ticket(s) with iptables-multiport
2023-02-12 03:27:36,906 fail2ban.actions [2645835]: NOTICE [recidive] Flush ticket(s) with iptables-allports
2023-02-12 03:27:36,910 fail2ban.actions [2645835]: NOTICE [recidive] Unban 202.55.132.190
2023-02-12 03:27:36,910 fail2ban.actions [2645835]: NOTICE [recidive] Unban 109.206.240.159
2023-02-12 03:27:36,910 fail2ban.actions [2645835]: NOTICE [recidive] Unban 141.98.10.76
2023-02-12 03:27:36,910 fail2ban.actions [2645835]: NOTICE [recidive] Unban 193.56.29.178
2023-02-12 03:27:36,911 fail2ban.actions [2645835]: NOTICE [recidive] Unban 87.246.7.229
2023-02-12 03:27:36,911 fail2ban.actions [2645835]: NOTICE [recidive] Unban 185.254.37.138
2023-02-12 03:27:37,501 fail2ban.jail [2645835]: INFO Jail 'plesk-apache-badbot' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'recidive' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-roundcube' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-panel' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-apache' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-dovecot' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'ssh' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-postfix' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-modsecurity' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-proftpd' stopped
2023-02-12 03:27:37,502 fail2ban.jail [2645835]: INFO Jail 'plesk-wordpress' stopped
2023-02-12 03:27:37,503 fail2ban.database [2645835]: INFO Connection to database closed.
2023-02-12 03:27:37,503 fail2ban.server [2645835]: INFO Exiting Fail2ban