Articles in this section

Cannot create Plesk subscription or update hosting settings: f2bmng failed with error UnknownJailException

kb: technical Plesk Onyx for Linux ABT: Group B

Applicable to:

  • Plesk Onyx for Linux

Symptoms

  1. Unable to migrate data to Plesk or create a domain/subscription.
  2. Domain is migrated without hosting, data is not migrated.
  3. Error in /var/log/fail2ban.log:

    CONFIG_TEXT: hosting update is failed: f2bmng failed: ERROR:f2bmng:Command ['set', 'plesk-apache-badbot', 'addlogpath', '/var/www/vhosts/system/example.com/logs/error_log'] failed with error UnknownJailException('plesk-apache-badbot',)
    Step failed 'applyCreateSubscription'. hosting update is failed: f2bmng failed: ERROR:f2bmng:Command ['set', 'plesk-apache-badbot', 'addlogpath', '/var/www/vhosts/system/example.com/logs/error_log'] failed with error UnknownJailException('plesk-apache-badbot',)

Cause

Fail2ban rules prevent hosting creation.

Resolution

1. Login to Plesk

2. Find Plesk server IP addresses at Tools & Settings > IP addresses:

mceclip3.png

3. Add the IP addresses to Tools & Settings > IP Address banning (fail2ban) > Trusted IP Addresses:

mceclip5.png

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.