• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Fail2ban stopped

Spyros

New Pleskian
Hello,
Please after the latest upgrade to 12.0.8 #58, the fail2ban stopped.
I was trying to restart the module from plesk and returned a page with errors

Error: f2bmng failed: WARNING 'syslogsocket' not defined in 'Definition'. Using default one: 'auto'
WARNING 'dbfile' not defined in 'Definition'. Using default one: '/var/lib/fail2ban/fail2ban.sqlite3'
WARNING 'dbpurgeage' not defined in 'Definition'. Using default one: 86400
ERROR Found no accessible config files for 'filter.d/postfix-tcpwrapper' under /etc/fail2ban
ERROR No section: 'Definition'
ERROR No section: 'Definition'
ERROR Unable to read the filter
ERROR Errors in jail 'postfix-tcpwrapper'. Skipping...
ERROR Found no accessible config files for 'filter.d/courierlogin' under /etc/fail2ban
ERROR No section: 'Definition'
ERROR No section: 'Definition'
ERROR Unable to read the filter
ERROR Errors in jail 'courierlogin'. Skipping...
ERROR:f2bmng:Failed to start fail2ban service


then i was also try with ssh getting the same errors

folder /var/lib/fail2ban is empty
 
With command

cat /etc/fail2ban/fail2ban.conf | grep db

make sure that you have likes like

# Options: dbfile
dbfile = /var/lib/fail2ban/fail2ban.sqlite3
 
Back
Top