• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Migration error Plesk 11.09

ViktorT

Basic Pleskian
I have a Problem with a Migration from Server to Server

Fehler: pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this

the log say this:

11653: 2013-01-11 19:03:53,814 DEBUG --> <pmmcli.GetTasksListAction object at 0x11c7050>
11653: 2013-01-11 19:03:53,814 INFO parameters: ['Restore', 'b0260d03-35e4-461c-968e-e70c602b0fde']
11653: 2013-01-11 19:03:53,822 DEBUG <pmmcli.ActionRunner object at 0x1193fd0>: doActivity
11653: 2013-01-11 19:03:53,822 DEBUG Acquired session mutex: MainThread
11653: 2013-01-11 19:03:53,824 DEBUG Released session mutex: MainThread
11653: 2013-01-11 19:03:53,824 DEBUG <pmmcli.GetTasksListAction object at 0x11c7050>: response
11653: 2013-01-11 19:03:53,825 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-list>
</task-list>
</data>
</response>

12147: 2013-01-11 19:05:12,394 DEBUG --> <pmmcli.GetTasksListAction object at 0x199d050>
12147: 2013-01-11 19:05:12,394 INFO parameters: ['Migration']
12147: 2013-01-11 19:05:12,399 DEBUG <pmmcli.ActionRunner object at 0x1968fd0>: doActivity
12147: 2013-01-11 19:05:12,399 DEBUG Acquired session mutex: MainThread
12147: 2013-01-11 19:05:12,401 DEBUG Released session mutex: MainThread
12147: 2013-01-11 19:05:12,401 DEBUG <pmmcli.GetTasksListAction object at 0x199d050>: response
12147: 2013-01-11 19:05:12,402 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-list>
</task-list>
</data>
</response>

12150: 2013-01-11 19:05:12,539 DEBUG --> <pmmcli.GetSessionsListAction object at 0x1567090>
12150: 2013-01-11 19:05:12,540 INFO parameters: ['Migration']
12150: 2013-01-11 19:05:12,544 DEBUG <pmmcli.ActionRunner object at 0x1567050>: doActivity
12150: 2013-01-11 19:05:12,548 INFO Executing <subprocess[12151] '/opt/psa/admin/bin/migration-handler --migration-get-sessions-list'>
12150: 2013-01-11 19:05:12,825 INFO Execution of <subprocess[12151] '/opt/psa/admin/bin/migration-handler --migration-get-sessions-list'> finished successfully.
12150: 2013-01-11 19:05:12,828 DEBUG <pmmcli.GetSessionsListAction object at 0x1567090>: response
12150: 2013-01-11 19:05:12,829 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<session-list>
</session-list>
</data>
</response>

12154: 2013-01-11 19:05:15,019 DEBUG --> <pmmcli.GetTasksListAction object at 0x25bb050>
12154: 2013-01-11 19:05:15,019 INFO parameters: ['Migration']
12154: 2013-01-11 19:05:15,024 DEBUG <pmmcli.ActionRunner object at 0x2586fd0>: doActivity
12154: 2013-01-11 19:05:15,024 DEBUG Acquired session mutex: MainThread
12154: 2013-01-11 19:05:15,025 DEBUG Released session mutex: MainThread
12154: 2013-01-11 19:05:15,025 DEBUG <pmmcli.GetTasksListAction object at 0x25bb050>: response
12154: 2013-01-11 19:05:15,027 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-list>
</task-list>
</data>
</response>

12156: 2013-01-11 19:05:15,174 DEBUG --> <pmmcli.GetSessionsListAction object at 0x1dd5090>
12156: 2013-01-11 19:05:15,174 INFO parameters: ['Migration']
12156: 2013-01-11 19:05:15,181 DEBUG <pmmcli.ActionRunner object at 0x1dd5050>: doActivity
12156: 2013-01-11 19:05:15,186 INFO Executing <subprocess[12157] '/opt/psa/admin/bin/migration-handler --migration-get-sessions-list'>
12156: 2013-01-11 19:05:15,299 INFO Execution of <subprocess[12157] '/opt/psa/admin/bin/migration-handler --migration-get-sessions-list'> finished successfully.
12156: 2013-01-11 19:05:15,301 DEBUG <pmmcli.GetSessionsListAction object at 0x1dd5090>: response
12156: 2013-01-11 19:05:15,303 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<session-list>
</session-list>
</data>
</response>

what kann ein do?
 
./PleskX.pl --dump-all --no-content
Can't locate AgentConfig.pm in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at PleskVersion.pm line 6.
Compilation failed in require at PleskX.pm line 30.
BEGIN failed--compilation aborted at PleskX.pm line 30.
Compilation failed in require at ./PleskX.pl line 8.
BEGIN failed--compilation aborted at ./PleskX.pl line 8.

What cann I do .
I have 11.0.9 Update #32
MIgration to this Server is Ok Migration to another Server ist error
 
Do you have file /usr/local/psa/PMM/agents/shared/AgentConfig.pm file there?
 
I can assume only that Migration Agent was not correctly installed there for some reason. Try to reinstall agent package at least.
 
Try to find it with

dpkg -S /opt/psa/PMM/agents/shared/AgentConfig.pm
 
I removed the Packages then i installed the Packeges

Nor Migration to another Server

Fehler: pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this
 
16857: 2013-01-14 10:39:02,829 DEBUG --> <pmmcli.GetConfigParametersAction object at 0x20a5810>
16857: 2013-01-14 10:39:02,834 DEBUG <pmmcli.ActionRunner object at 0x20a57d0>: doActivity
16857: 2013-01-14 10:39:02,835 DEBUG <pmmcli.GetConfigParametersAction object at 0x20a5810>: response
16857: 2013-01-14 10:39:02,836 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<config-parameters>
<parameter>
<name>DAEMON_TIMEOUT</name>
<value>30</value>
</parameter>
<parameter>
<name>MAX_LOG_SIZE</name>
<value>1048576</value>
</parameter>
<parameter>
<name>MAX_CONFLICT_RESOLVES</name>
<value>1</value>
</parameter>
<parameter>
<name>FREE_DISK_SPACE</name>
<value>20</value>
</parameter>
<parameter>
<name>CHECK_BACKUP_DISK_SPACE</name>
<value>0</value>
</parameter>
<parameter>
<name>MAX_LOG_FILES</name>
<value>10</value>
</parameter>
<parameter>
<name>KEEP_TEMP_DUMP</name>
<value>1800</value>
</parameter>
<parameter>
<name>MAILBODY</name>
<value>'%TASK_TYPE% task finished.\n\nTask was created by %OWNER_TYPE% with guid (%OWNER_GUID%)\n\n\nCreation date is: %CREATION_DATE%\nTask status is: %TASK_STATUS%\n\nDump full name is: %FULL_NAME%\n\n\n\n'</value>
</parameter>
<parameter>
<name>AUTHREQUIRED</name>
<value>0</value>
</parameter>
<parameter>
<name>DAYS_TO_KEEP_SESSIONS</name>
<value>30</value>
</parameter>
<parameter>
<name>SMTPSERVER</name>
<value>localhost</value>
</parameter>
<parameter>
<name>MAILSUBJECT</name>
<value>Backup/Restore task notification</value>
</parameter>
<parameter>
<name>FORCE_DEBUG_LOG</name>
<value>0</value>
</parameter>
</config-parameters>
</data>
</response>

16858: 2013-01-14 10:39:02,972 DEBUG --> <pmmcli.MakeDumpAction object at 0x2b90f90>
16858: 2013-01-14 10:39:02,972 INFO stdin: <backup-task-description><misc backup-profile-name="ringsumdenzahn" owner-guid="42ab5b75-52bb-4052-a903-1fa5e4626864"/><dumps-storage-credentials storage-type="local"><root-dir>/var/lib/psa/dumps</root-dir><file-name/></dumps-storage-credentials><backup-specification><backup-options type="full" compression-level="do-not-compress" suspend="false" rotation="7" mail-to="[email protected]"/><object-to-backup type="domain" id="53" name="rings-um-den-zahn.de"/></backup-specification></backup-task-description>
16858: 2013-01-14 10:39:02,977 INFO Packet succesfully validated.
16858: 2013-01-14 10:39:02,979 DEBUG <pmmcli.ActionRunner object at 0x2b90f50>: doActivity
16858: 2013-01-14 10:39:02,985 INFO Executing asynchronously <subprocess[16859] '/usr/bin/perl /opt/psa/admin/bin/plesk_agent_manager domains-id --owner-uid=42ab5b75-52bb-4052-a903-1fa5e4626864 --dump-rotation=7 --backup-profile-name=ringsumdenzahn --no-gzip --session-path=/opt/psa/PMM/sessions/2013-01-14-103902.611 53'>
16858: 2013-01-14 10:39:02,986 DEBUG Acquired session mutex: MainThread
16858: 2013-01-14 10:39:02,986 DEBUG detecting running pmmcli daemon...
16858: 2013-01-14 10:39:02,997 DEBUG starting pmmcli daemon...
16858: 2013-01-14 10:39:03,001 DEBUG Executing asynchronously [16861] process
16858: 2013-01-14 10:39:03,002 DEBUG Released session mutex: MainThread
16858: 2013-01-14 10:39:03,002 DEBUG Acquired session mutex: MainThread
16858: 2013-01-14 10:39:03,002 DEBUG Released session mutex: MainThread
16858: 2013-01-14 10:39:03,003 DEBUG <pmmcli.MakeDumpAction object at 0x2b90f90>: response
16858: 2013-01-14 10:39:03,004 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-id>16859</task-id>
</data>
</response>

16862: 2013-01-14 10:39:03,153 DEBUG --> <pmmcli.GetTaskStatusAction object at 0x1619fd0>
16862: 2013-01-14 10:39:03,153 INFO parameters: ['16859']
16862: 2013-01-14 10:39:03,158 DEBUG <pmmcli.ActionRunner object at 0x1619f90>: doActivity
16862: 2013-01-14 10:39:03,159 DEBUG Acquired session mutex: MainThread
16862: 2013-01-14 10:39:03,181 DEBUG Released session mutex: MainThread
16862: 2013-01-14 10:39:03,181 DEBUG <pmmcli.GetTaskStatusAction object at 0x1619fd0>: response
16862: 2013-01-14 10:39:03,183 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-status task-id="16859">
<working>
<starting></starting>
</working>
</task-status>
</data>
</response>

17217: 2013-01-14 10:40:03,321 DEBUG --> <pmmcli.GetTaskStatusAction object at 0x1734fd0>
17217: 2013-01-14 10:40:03,321 INFO parameters: ['16859']
17217: 2013-01-14 10:40:03,326 DEBUG <pmmcli.ActionRunner object at 0x1734f90>: doActivity
17217: 2013-01-14 10:40:03,326 DEBUG Acquired session mutex: MainThread
17217: 2013-01-14 10:40:03,341 DEBUG Acquired session mutex: MainThread
17217: 2013-01-14 10:40:03,342 DEBUG Released session mutex: MainThread
17217: 2013-01-14 10:40:03,343 DEBUG Get task (16859) status from migration.result...
17217: 2013-01-14 10:40:03,343 DEBUG Session path (/opt/psa/PMM/sessions/2013-01-14-103902.611)
17217: 2013-01-14 10:40:03,365 DEBUG Get task (16859) status from migration.result...
17217: 2013-01-14 10:40:03,365 DEBUG Session path (/opt/psa/PMM/sessions/2013-01-14-103902.611)
17217: 2013-01-14 10:40:03,366 DEBUG Released session mutex: MainThread
17217: 2013-01-14 10:40:03,367 DEBUG <pmmcli.GetTaskStatusAction object at 0x1734fd0>: response
17217: 2013-01-14 10:40:03,368 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<task-status task-id="16859">
<finished status="success" log-location="/opt/psa/PMM/sessions/2013-01-14-103902.611/migration.result">
</finished>
</task-status>
</data>
</response>

17220: 2013-01-14 10:40:03,535 DEBUG --> <pmmcli.RemoveTaskDataAction object at 0xeecfd0>
17220: 2013-01-14 10:40:03,535 INFO parameters: ['16859']
17220: 2013-01-14 10:40:03,543 DEBUG <pmmcli.ActionRunner object at 0xeecf90>: doActivity
17220: 2013-01-14 10:40:03,543 DEBUG Acquired session mutex: MainThread
17220: 2013-01-14 10:40:03,560 DEBUG Get task (16859) status from migration.result...
17220: 2013-01-14 10:40:03,561 DEBUG Session path (/opt/psa/PMM/sessions/2013-01-14-103902.611)
17220: 2013-01-14 10:40:03,580 DEBUG Remove task 16859
17220: 2013-01-14 10:40:03,581 DEBUG Released session mutex: MainThread
17220: 2013-01-14 10:40:03,582 DEBUG <pmmcli.RemoveTaskDataAction object at 0xeecfd0>: response
17220: 2013-01-14 10:40:03,583 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
</response>


. / report_pmm_logs.php where I need to upload on the Server /root ?
 
If I here http://kb.parallels.com/de/6349 by lead
then the dumps are not only about the Create Migration Manager I need urgently.

If I here comes the ausführe
:/ opt / psa / PMM / agents / PleskX # / PleskX.pl -. dump-all - no-content
Can not locate AgentConfig.pm in @ INC (@ INC contains:. / Etc / perl / usr/local/lib/perl/5.10.1 / usr/local/share/perl/5.10.1 / usr/lib/perl5 / usr/share/perl5 / usr/lib/perl/5.10 / usr/share/perl/5.10 / usr / local / lib / site_perl) at PleskVersion.pm line 6
Compilation failed in require at PleskX.pm line 30th
BEGIN failed - compilation aborted at PleskX.pm line 30th
Compilation failed in require at. / PleskX.pl eighth line
BEGIN failed -. Compilation aborted at / line PleskX.pl 8th
root @ enet24-011 :/ opt / psa / PMM / agents / PleskX #

have the right to everything checked ok so far
Even uninstall the backup / migration manager and install again did nothing
 
Back
Top