Migration fails: Fail to open backup manager: xmlSchemaParse() failed

Created:

2016-11-16 13:14:46 UTC

Modified:

2017-06-16 23:35:45 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Migration fails: Fail to open backup manager: xmlSchemaParse() failed

Symptoms

  • Migration fails with the error:

    |DEBG: 7638:p.deployer] Validate dump using restore specification: /usr/local/psa/PMM/restore-specification.xsd
    |INFO: 7638:p.log] StdException[]: Deployer has been terminated by exception: Can not allocate memory for xmlSchemaParse [./main.cpp:399]
  • Unable to open Backup Manager in Plesk:

    xmlSchemaParse() failed

Cause

The directory /usr/local/psa/PMM/ is corrupted.

Resolution

  1. Make sure that system contains all required files/directories in the /usr/local/psa/PMM/ directory:

    # ls -l /usr/local/psa/PMM/
    total 436
    drwxr-xr-x 3 root root 4096 Apr 30 05:09 agents
    -rwxr-xr-x 1 root root 2245 Aug 26 2015 correct_aw_statistics.pl
    -rwxr-xr-x 1 root root 53454 Aug 26 2015 mb2md.pl
    -rw-r--r-- 1 root root 103241 Aug 26 2015 plesk.xsd
    -rw-r--r-- 1 root root 145661 Aug 26 2015 pmm-common.xsd
    -rw-r--r-- 1 root root 108230 Aug 26 2015 restore-specification.xsd
    -rwxr-xr-x 1 root root 997 Aug 26 2015 sa_convert.sh
    drwxr-xr-x 2 root root 4096 Apr 30 05:09 schemas
    drwxr-xr-x 2 root root 4096 Aug 26 2015 tmp
    drwxr-xr-x 2 root root 4096 Aug 26 2015 var
  2. If some of the files/directories are missing from the above list, download the plesk-core package for an appropriate Plesk verions and OS from Plesk installer repository and copy missing files/directories.

    Below is an example for Plesk 12.5 on CentOS 6:

    # mkdir /root/plesk_core
    # cd /root/plesk_core
    # wget http://autoinstall.plesk.com/PSA_12.5.30/dist-rpm-CentOS-6-x86_64/base/plesk-core-12.5.30-cos6.build1205150826.19.x86_64.rpm
    # rpm2cpio plesk-core-12.5.30-cos6.build1205150826.19.x86_64.rpm | cpio -idmv
    # cp /root/plesk_core/usr/local/psa/PMM/<missing_file> /usr/local/psa/PMM/
Have more questions? Submit a request
Please sign in to leave a comment.