• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Resolved Onyx - Fail2Ban Error

futureweb

Regular Pleskian
Hello,
trying to activate Fail2Ban on a fresh installed Onyx Plesk without any Hostings created yet.
Since there are no HTTP, ... Logs - Plesk fails to activate Fail2Ban Jails with a Hard Error ...


Die ausgewählten Jails können nicht eingeschaltet werden: f2bmng failed: ERROR No file(s) found for glob /var/www/vhosts/system/*/logs/error_log
ERROR NOK: ('plesk-apache',)
ERROR No file(s) found for glob /var/www/vhosts/system/*/logs/*access*log
ERROR NOK: ('plesk-apache-badbot',)
ERROR NOK: ('plesk-courierimap',)
ERROR NOK: ('plesk-horde',)
ERROR No file(s) found for glob /var/log/modsec_audit.log
ERROR Failed during configuration: Have not found any log file for plesk-modsecurity jail
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-modsecurity']' returned non-zero exit status 255
ERROR NOK: ('plesk-panel',)
ERROR NOK: ('plesk-postfix',)
ERROR NOK: ('plesk-proftpd',)
ERROR NOK: ('plesk-roundcube',)
ERROR No file(s) found for glob /var/www/vhosts/system/*/logs/*access*log
ERROR NOK: ('plesk-wordpress',)
ERROR NOK: ('recidive',)
ERROR NOK: ('ssh',)
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-modsecurity.

Die ausgewählten Jails können nicht eingeschaltet werden: f2bmng failed: ERROR NOK: ('plesk-courierimap',)
ERROR NOK: ('plesk-horde',)
ERROR No file(s) found for glob /var/log/modsec_audit.log
ERROR Failed during configuration: Have not found any log file for plesk-modsecurity jail
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-modsecurity']' returned non-zero exit status 255
ERROR NOK: ('plesk-panel',)
ERROR NOK: ('plesk-postfix',)
ERROR NOK: ('plesk-proftpd',)
ERROR NOK: ('plesk-roundcube',)
ERROR No file(s) found for glob /var/www/vhosts/system/*/logs/*access*log
ERROR NOK: ('plesk-wordpress',)
ERROR NOK: ('recidive',)
ERROR NOK: ('ssh',)
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-modsecurity.

Andreas Schnederle-Wagner
 
If there are no log files, fail2ban does not have anything to do, hence no need to start it. This behavior is by design of fail2ban, it cannot be avoided. You must deactivate the jails that do not have target locations, e.g. webspace/logs.
 
Hi,
it's clear WHY this happens ... but it complicates our workflow of deploying Plesk Servers for our Customers massively ... As we are a Hosting Provider we sell fully configured Plesk Servers to our Customers ... As those are new/empty Servers - we never can activate Fail2Ban for our Customers as there are no Logs yet ...
So we always have to check back later when Customer already created some Hostings on the Server to activate it for them ...
You see the Problem ... ?
 
Back
Top