Migration process stuck during deployment of the subscriptions

Created:

2017-07-23 22:30:08 UTC

Modified:

2017-08-16 17:33:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration process stuck during deployment of the subscriptions

Applicable to:

  • Plesk for Linux

Symptoms

Migration process stuck during deployment of the subscription:

In /usr/local/psa/var/modules/panel-migrator/sessions/migration_session_date/debug.log
+|2017-07-23_18:28:08,046|D|ST1|core.runners.base|example.com||Execute command on the local server: /usr/local/psa/bin/domain --update example.com -webspace-name example.com -hosting true -hst_type phys -ssl true -do-not-apply-skeleton -www-root httpdocs -ignore-nonexistent-options

Fail2ban feature is installed and the following errors can be found in Plesk panel.log at the same time:

[2017-07-23 18:28:18] ERR [1] '/usr/local/psa/admin/bin/f2bmng' '--status' failed with code 1.
stdout:
stderr:
ERROR:f2bmng:Timeout of 10 seconds has been reached. Lock 'service.fail2ban' is already owned by another process with pid <unknown>

There are a lot of /bin/sh /sbin/service fail2ban status processes in process tree

Cause

Domains cannot be created successfully during migration due to stack fail2ban processes

Resolution

  1. Terminate hanged fail2ban processes:

    # ps -ef | grep fail2ban | awk '{print $2}' | xargs kill
    
  2. Keep it disabled while migration is in progress.
Have more questions? Submit a request
Please sign in to leave a comment.