Migration hangs or fails at all when I migrate a bunch of domains

Refers to:

  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:24:01 UTC

Modified:

2016-12-21 20:37:57 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration hangs or fails at all when I migrate a bunch of domains

Symptoms

  1. Migration hangs

  2. Migration fails with error:

    [2015-04-19 22:36:29.393|52103] INFO: tError_ParseFile[9b85e473-5336-4e8b-8212-aa706386adbd]: The XML file - was not parsed successfully with the following errors:
    Entity: line 6:parsererror :Opening and ending tag mismatch: hr line 5 and body</body> ^Entity: line 7:parsererror :Opening and ending tag mismatch: body line 3 and html</html> ^Entity: line 7:parsererror :Premature end of data in tag html line 1</html> ^ [./xml_parse.cpp:126]
    plesk::tXmlDocument::tXmlDocument(const string&)
  3. Migration fails with error

    INFO: FailedDomainDeployment[8b8adf25-291f-4e3b-8624-63c3a4989bba]: Failed deployment of domain domain.tld [./domain_deploy.cpp:410]
    void plesk::tDomainDeployer::operator()(plesk::XmlNode) const
    Inner exception:
    ExecCliGate::GateError[a0116883-7cd4-42c8-8f90-08c786e41318]: Error during CLI Gate interface usage: transfer closed with outstanding read data remaining [./cmd_exec.cpp:192]
    void plesk::CliExec::makePostRequest(const string&)
  4. Plesk becomes unaccessible during migration, error in migration logs:

    [2015-04-19 22:36:29.393|52103] INFO: Normalized HTTP response: <html>
    <head><title>504 Gateway Time-out</title></head>

Cause

sw-enginer stuck on destination server.

Resolution

Increase limit for open files:

  1. Modify ' /etc/init.d/sw-engine ', add the following into the startup script:

    ulimit -n 65536
  2. Restart the services:

    #service sw-engine restart
    #service sw-cp-server restart
  3. If Nginx alredy service stuck:

    a. Kill alll nginx processes using the below command:

    # killall nginx

    b. Restart nginx service:

    # systemctl start nginx.service
  4. Disable and re-enale nginx using nginxmng:

    # /usr/local/psa/admin/bin/nginxmng -d
    # /usr/local/psa/admin/bin/nginxmng -e
    # /usr/local/psa/admin/bin/nginxmng -s
    Enabled
Have more questions? Submit a request
Please sign in to leave a comment.