Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Unable to enable the Fail2ban jail: Failed to reload following jails due to errors in configuration

 
applications extensionsbackupfail2banhttpsphp

Symptoms

  • Unable to enable the Fail2ban jail with the errors below:

    # plesk bin ip_ban --enable-jails plesk-roundcube
    .....
    ERROR Found no accessible config files for 'action.d/iptables-multiport' under /etc/fail2ban
    ERROR Error in action definition iptables-multiport[name="plesk-roundcube", port="http,https,7080,7081"]
    ERROR Errors in jail 'plesk-roundcube'. Skipping...
    ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'plesk-roundcube']' returned non-zero exit status 255
    ERROR:f2bmng:Failed to reload following jails due to errors in configuration: plesk-roundcube

  • Unable to start a Plesk migration, the following error is shown in the migration logs:

    =|2020-06-28_17:11:46,741|D|MT|core.runners.base|||stderr: [2020-06-28 17:11:46.522] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/f2bmng' '--reload'] with exit code [1]
    =|2020-06-28_17:11:46,741|D|MT|core.runners.base|||PHP Fatal error: Uncaught PleskUtilException: f2bmng failed: 2020-06-28 17:11:46,413 fail2ban.configreader [30092]: ERROR Found no accessible config files for 'filter.d/dropbear' under /etc/fail2ban
    =|2020-06-28_17:11:46,741|D|MT|core.runners.base|||2020-06-28 17:11:46,413 fail2ban.jailreader [30092]: ERROR Unable to read the filter 'dropbear'
    =|2020-06-28_17:11:46,741|D|MT|core.runners.base|||2020-06-28 17:11:46,413 fail2ban.jailsreader [30092]: ERROR Errors in jail 'dropbear'. Skipping...
    ...

Cause

The corrupted Fail2ban installation.

Resolution

  1. Connect to the server via SSH
  2. Create a backup for the Fail2ban jail rules:

    # cp /etc/fail2ban/jail.local /root/jail.local

  3. Remove the Fail2ban component with the command:

    # plesk installer --select-release-current --remove-component fail2ban

  4. Rename Fail2ban directory:

    # mv /etc/fail2ban /etc/fail2ban_old

  5. Install Fail2ban component back:

    # plesk installer --select-release-current --install-component fail2ban

  6. Move
    jail.local
    file back:

    # mv /root/jail.local /etc/fail2ban/

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Ruby on Rails vs PHP: Which one’s right for your needs?

Read More »

How to Use Fail2ban to Secure Your Linux Server (CentOS, Ubuntu, Debian, Fedora, and Plesk)

Read More »

How to Avoid High CPU Load and Block Hackers and Bad Bots Effectively

Read More »
Knowledge Base

Unable to create backup via Acronis Backup extension in Plesk: The pre-data capture command completed with non-zero return code: 1

Read More »

WordPress can not be installed via WP Toolkit in Plesk: Specified column “guid” is not in the row

Read More »

Fail2Ban bans the IP address of a website visitor: ModSecurity: collection_store: Failed to access DBM file “/var/lib/mod_security/apache-default_SESSION”: Resource deadlock avoided

Read More »

Unable to deploy Git Repository in Plesk: Argument 1 passed to PleskExtGitDTORepository

Read More »

Hosting Wiki

  • Server Redundancy
  • AMP
  • Bare Metal Server
  • Backup
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • PHP
  • Plesk
  • Web Server
  • DNS Server
  • SSH
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family