• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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