Backup task fails with error: unable to check xml validity: Can not creat...

Created:

2016-11-16 13:17:42 UTC

Modified:

2017-08-16 17:15:44 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Backup task fails with error: unable to check xml validity: Can not creat...

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 10.x for Linux

Symptoms

After starting the Plesk backup procedure, a backup file is created, but the backup task fails with the similar error in the ' migration.result ' file of the corresponding backup session:

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error" log-location="/usr/local/psa/PMM/sessions/2012-03-16-080801.261/migration.result">
<message id="032d845c-66f1-43fb-8b3d-a690012f06da" severity="error" code="CheckDump">
<description>
Unable to check dump: Could not check dump. Invalid xml response:
at /usr/local/psa/PMM/agents/PleskX/PmmCli.pm line 177
PmmCli::parseCheckDumpResult('Repository error: unable to check xml validity: Can not creat...') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1136
main::checkDump('/var/lib/psa/dumps', 'qweqwe_info_1203160808.xml', '/usr/local/psa/PMM/sessions/2012-03-16-080801.261') called at /usr/local/psa/admin/bin/plesk\\_agent\\_manager line 670
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 405
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0x369bc10)', 'HASH(0x369c180)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 679
main::perform('verbose', 4, 'owner-type', 'server', 'split-size', 'undef', 'session-path', '/usr/local/psa/PMM/sessions/2012-03-16-080801.261', 'description', ...) called at /usr/local/psa/admin/bin/plesk_agent_manager line 1210
main::__ANON__() called at /usr/local/psa/PMM/agents/shared/Error.pm line 398
eval {...} called at /usr/local/psa/PMM/agents/shared/Error.pm line 397
Error::subs::try('CODE(0x1cff170)', 'HASH(0x34dbc30)') called at /usr/local/psa/admin/bin/plesk_agent_manager line 1219
main::main() called at /usr/local/psa/admin/bin/plesk_agent_manager line 1221.
</description>
</message>
</execution-result>

Cause

The issue may be caused by an incorrectly formed /etc/psa/psa.conf file. Open it and check the value of the DUMP_TMP_D variable:

If it is "/var/tmp " instead of "/var/tmp" (note the extra spaces at the end), then the backup tasks will fail on this server.

Resolution

Remove the extra characters from the DUMP_TMP_D variable in the /etc/psa/psa.conf file.

It is recommended that you re-run the backup task after modifying the file to make sure that the backup is valid.

Have more questions? Submit a request
Please sign in to leave a comment.