• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue fail2ban jail error

Remigio

Basic Pleskian
I've debian 9
when I try to click on fail2ban-->jail--> f2bmng failed: ERROR:__main__:Command '['/usr/bin/dpkg', '-S', '/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.d/plesk.conf', '/etc/fail2ban/jail.local']' returned non-zero exit status 1.
Follow also this docs: Fail2ban cannot to enable jail due to errors in configuration on Plesk
and also Unable to activate or remove Fail2ban: error reading information on service fail2ban: No such file or directory (rpm command not found)
not solve my issue
 
Maybe you can find more details in the /var/log/messages log file or the /var/log/fail2ban.log file.
I think that it is likely that the jail cannot be started, because there are no log files that it can process. For example, if a jail only processes website logs of domains that start with the letter "a" and there is no such domain, the jail cannot start, because there are no files it can find to process them. Depending on your specific configuration this can or cannot be the case. Normally, more details on the reason why fail2ban cannot start should be available in the system logs as mentioned above.
 
Thank you very much @Peter Debik
Problem is when I try to enter into fail2ban-->jail I've this error <<Errore: Impossibile ottenere la lista di jail: f2bmng failed: ERROR:__main__:Command '['/usr/bin/dpkg', '-S', '/etc/fail2ban/jail.conf', '/etc/fail2ban/jail.d/plesk.conf', '/etc/fail2ban/jail.local']' returned non-zero exit status 1.>>
 
Back
Top