Article ID: 115523, created on Feb 11, 2013, last review on Aug 12, 2014

  • Applies to:
  • Plesk 11.x for Linux

Symptoms


The migration log on the destination server contains the following error:
 
[11609]: 04:27:06 DEBUG Unable to create dump: 'undef' value passed to XmlNode::setAttribute for 'guid' at XmlNode.pm line 103.
 at XmlNode.pm line 103
        XmlNode::setAttribute('XmlNode=HASH(0x1bc67c0)', 'guid', undef) called at Packer.pm line 2248
        Packer::makeUserNode('Packer=HASH(0x1aaf3e0)', 'test@domain.tld', 'HASH(0x1bbb0e8)') called at Packer.pm line 2078
        Packer::addClientUser('Packer=HASH(0x1aaf3e0)', 163, 'test@domain.tld', 'HASH(0x1bbb0e8)') called at PleskX.pm line 1878
        PleskX::makeClientNode('PleskX=HASH(0x1aa2f20)', 'betasystem25', 'ARRAY(0x1755468)', undef, 0) called at PleskX.pm line 1868
        PleskX::makeClientNode('PleskX=HASH(0x1aa2f20)', 'MAD-digi-beta', 'ARRAY(0x1702020)', 'ARRAY(0x1701f78)', 0) called at PleskX.pm line 1310
        PleskX::createFullDump('PleskX=HASH(0x1aa2f20)') called at PleskX.pm line 592
        PleskX::dump('PleskX=HASH(0x1aa2f20)') called at /var/cache/20130206052521989/PleskX.pl line 265
        eval {...} called at /var/cache/20130206052521989/PleskX.pl line 145
        main::main() called at /var/cache/20130206052521989/PleskX.pl line 285
 
On the source server, in /usr/local/psa/PMM/sessions/last_session/stderr, there are a lot of such errors:
 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@mailserver.tld' at line 1
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@mailserver.tld' at line 1

 

Cause

Most likely, the perl-DBD-mysql package is missing on your source server. You may check this with the following command:
 
# rpm -q perl-DBD-mysql
package perl-DBD-mysql is not installed
#
 

Resolution

Install the perl-DBD-mysql package to the source server. Normally, on a physical server (not a PVC container), it is done by running this command:
 
# yum install perl-DBD-mysql


Another possible solution is described in this article: http://kb.sp.parallels.com/115569

0a53c5a9ca65a74d37ef5c5eaeb55d7f 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF