• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Pleskrestore error <errmsg>pmm-ras error (Error code = 1):

Z

zennie12

Guest
I would like to migrate to a new server. Iám using the pleskbackup - restore option.

Live server: Linux SuSE 10.0 i386 with Plesk 9.3.0 fully updated.
New server: Linux SuSE 11.1 64 bit with Plesk 9.3.0 also fully updated.

I did a full server backup and splitted it in 700MB archives. When I try to restore the archives on the new server there are some errors:

pmmcli.log:
5456: 2010-02-27 09:14:12,885 DEBUG --> <pmmcli.ImportFileAsDumpAction object at 0x288f210>
5456: 2010-02-27 09:14:12,885 INFO stdin: <src-dst-files-specification guid="e9bb721a-cf15-498d-888f-f5bcea617df7" type="server"><src><dumps-storage-credentials storage-type="file"><roo$
5456: 2010-02-27 09:14:12,898 INFO Packet succesfully validated.
5456: 2010-02-27 09:14:12,901 DEBUG <pmmcli.ActionRunner object at 0x288f1d0>: doActivity
5456: 2010-02-27 09:14:12,907 INFO Executing <subprocess[5457] '/usr/local/psa/admin/bin/pmm-ras --import-file-as-dump --dump-file-specification=/export/migratie/beatbox-dump-new --dump$
5456: 2010-02-27 09:20:12,705 INFO Subprocess raised ExecuteException: Subprocess <subprocess[5457] '/usr/local/psa/admin/bin/pmm-ras --import-file-as-dump --dump-file-specification=/ex$
== STDOUT ====================


== STDERR ====================

5456: 2010-02-27 09:20:12,714 DEBUG Import file operation ended with errcode=199. Filename is None
5456: 2010-02-27 09:20:12,714 DEBUG <pmmcli.ImportFileAsDumpAction object at 0x288f210>: response
5456: 2010-02-27 09:20:12,748 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>199</errcode>
<errmsg>pmm-ras error (Error code = 1):
== STDOUT ====================

migration.log

[09:14:13|INFO: 5457:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --import-file-as-dump --dump-file-specification=/export/migratie/beatbox-dump-new --dump-storage=/var/lib/$
[09:14:13|INFO: 5457:p.log] Repository '/export/migratie/' initialising...
[09:14:13|INFO: 5457:p.log] Repository '/export/migratie/': Initialized
[09:14:13|INFO: 5457:p.log] Repository '/var/lib/psa/dumps/' initialising...
[09:14:13|INFO: 5457:p.log] Repository '/var/lib/psa/dumps/': Initialized
[09:14:13|INFO: 5457:p.log] Repository '/var/lib/psa/dumps/': Import from /export/migratie/beatbox-dump-new
[09:14:13|INFO: 5457:p.log] Check file /export/migratie/beatbox-dump-new is gzipped
[09:14:13|INFO: 5457:p.log] File is not gzipped
[09:14:13|INFO: 5457:p.log] Executing utility: perl /tmp/repo_transport_tmp_dwkIxl
[09:20:12|INFO: 5457:p.log] The utility executed with the return code 2
[09:20:12|INFO: 5457:p.log] The return code was
No output on STDOUT were performed by the utility
The output on STDERR was:
tar: Skipping to next header
tar: .discovered/*: Not found in archive
tar: Error exit delayed from previous errors
512 at /tmp/repo_transport_tmp_dwkIxl line 2.

[09:20:12|INFO: 5457:p.log] tRepository::StreamError: Archiver error: unable to extract files from /export/migratie/beatbox-dump-new, /export/migratie/beatbox-dump-new1, /export/migrati$
[09:20:12|INFO: 5457:p.log] pmm-ras finished. Exit code: 1

I tried it several times with fresh beackups.... Any help is very much appreciated.

Maurits.
 
tar: Skipping to next header
tar: .discovered/*: Not found in archive
tar: Error exit delayed from previous errors

This issue occurs on migration of domains/subdomains that have site application installed in document root directory -- list of malformed paths is passed to 'tar' to extract from archive. It is known problem and fixed for Plesk 9.5.0 version which will be released soon. (I have no any ETA when).
 
Hi Igor,

Thnx for you quick reply. Are there any workarounds, or other options to do a server hardware update without using the pleskbackup -restore.

Maurits
 
Did you tried migrate it with Plesk Migration Manager?
 
Yes Igor, I tried before ... but did it again ... getting the following:

migration_handler.log
4911: 2010-03-01 08:26:17,104 DEBUG --> <migration_handler.MigrationGetScoutInfoAction object at 0xceb950>
4911: 2010-03-01 08:26:17,104 INFO stdin: <migration-task-description owner-guid="e9bb721a-cf15-498d-888f-f5bcea617df7"><agent-credentials><host-credentials remoting-type="ssh"><login>root</login><$
4911: 2010-03-01 08:26:17,107 INFO Packet succesfully validated.
4911: 2010-03-01 08:26:17,108 DEBUG <migration_handler.MigrationHandlerActionRunner object at 0xceb910>: doActivity
4911: 2010-03-01 08:26:17,108 INFO Create migration session started
4911: 2010-03-01 08:26:17,112 INFO Create migration session 20100301082617540 finished
4911: 2010-03-01 08:26:17,115 DEBUG add '4912' to session worker processes
4911: 2010-03-01 08:26:17,116 INFO Executing <subprocess[4912] '/usr/local/psa/admin/bin/launchpad --send-scout --host=***** --login=root --session-path=/usr/local/psa/PMM/msessions/201003010$
4911: 2010-03-01 08:26:17,491 INFO Execution of <subprocess[4912] '/usr/local/psa/admin/bin/launchpad --send-scout --host=***** --login=root --session-path=/usr/local/psa/PMM/msessions/201003$
4911: 2010-03-01 08:26:17,491 DEBUG remove '4912' from session worker processes
4911: 2010-03-01 08:26:17,493 DEBUG <migration_handler.MigrationGetScoutInfoAction object at 0xceb950>: response
4911: 2010-03-01 08:26:17,494 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<scout-result migration-session-id="20100301082617540">
<detected-panel name="Plesk 9.3.0 SuSE 10.0 93091230.06" agent="PleskX"></detected-panel>
<os-info loadavg="0.15 0.29 0.30" os="Linux"></os-info>
<remote-fs>
<fs free="151766016000" mode="rw" device="/dev/sda2" mountpoint="/" type="reiserfs" size="243600617472"></fs>
<fs free="164553134080" mode="rw" device="/dev/sdb1" mountpoint="/export" type="reiserfs" size="250040840192"></fs>
</remote-fs>
</scout-result>
</data>
</response>

4914: 2010-03-01 08:26:17,692 DEBUG --> <migration_handler.MigrationGetObjectsListAction object at 0xcea990>
4914: 2010-03-01 08:26:17,692 INFO parameters: ['20100301082617540']
4914: 2010-03-01 08:26:17,692 INFO stdin: PleskX
4914: 2010-03-01 08:26:17,695 DEBUG <migration_handler.MigrationHandlerActionRunner object at 0xcea950>: doActivity
4914: 2010-03-01 08:26:17,699 DEBUG Platform selected: 'PleskX'
4914: 2010-03-01 08:26:17,699 DEBUG Platform detected: 'Plesk 9.3.0 SuSE 10.0 93091230.06', agent: 'PleskX'
4914: 2010-03-01 08:26:17,703 DEBUG add '4915' to session worker processes
4914: 2010-03-01 08:26:17,703 INFO Executing <subprocess[4915] '/usr/local/psa/admin/bin/launchpad --deploy-agent --host=***** --login=root --session-path=/usr/local/psa/PMM/msessions/2010030$
4914: 2010-03-01 08:26:19,063 INFO Subprocess raised ExecuteException: Subprocess <subprocess[4915] '/usr/local/psa/admin/bin/launchpad --deploy-agent --host=*****--login=root --session-path$
== STDOUT ====================

== STDERR ====================
Invalid handle passed
4914: 2010-03-01 08:26:19,063 ERROR Launchpad could not deploy agent: Subprocess <subprocess[4915] '/usr/local/psa/admin/bin/launchpad --deploy-agent --host= ***** 1 --login=root --session-path=$
== STDOUT ====================

== STDERR ====================
Invalid handle passed
4914: 2010-03-01 08:26:19,064 DEBUG <migration_handler.MigrationGetObjectsListAction object at 0xcea990>: response
4914: 2010-03-01 08:26:19,065 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>launchpad error (Error code = 2):
== STDERR ====================
Invalid handle passed

and .... pmmcli.log


4910: 2010-03-01 08:26:17,026 DEBUG --> <pmmcli.GetScoutInfoAction object at 0x95df50>
4910: 2010-03-01 08:26:17,026 INFO stdin: <migration-task-description owner-guid="e9bb721a-cf15-498d-888f-f5bcea617df7"><agent-credentials><host-credentials remoting-type="ssh"><login>root</login><$
4910: 2010-03-01 08:26:17,030 INFO Packet succesfully validated.
4910: 2010-03-01 08:26:17,032 DEBUG <pmmcli.ActionRunner object at 0x95df10>: doActivity
4910: 2010-03-01 08:26:17,034 INFO Executing <subprocess[4911] '/usr/local/psa/admin/bin/migration-handler --migration-get-scout-info'>
4910: 2010-03-01 08:26:17,519 INFO Execution of <subprocess[4911] '/usr/local/psa/admin/bin/migration-handler --migration-get-scout-info'> finished successfully.
4910: 2010-03-01 08:26:17,520 DEBUG <pmmcli.GetScoutInfoAction object at 0x95df50>: response
4910: 2010-03-01 08:26:17,522 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<scout-result migration-session-id="20100301082617540">
<detected-panel name="Plesk 9.3.0 SuSE 10.0 93091230.06" agent="PleskX"></detected-panel>
<os-info loadavg="0.15 0.29 0.30" os="Linux"></os-info>
<remote-fs>
<fs free="151766016000" mode="rw" device="/dev/sda2" mountpoint="/" type="reiserfs" size="243600617472"></fs>
<fs free="164553134080" mode="rw" device="/dev/sdb1" mountpoint="/export" type="reiserfs" size="250040840192"></fs>
</remote-fs>
</scout-result>
</data>
</response>

4913: 2010-03-01 08:26:17,624 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0x95df90>
4913: 2010-03-01 08:26:17,624 INFO parameters: ['20100301082617540']
4913: 2010-03-01 08:26:17,624 INFO stdin: <agent-to-use>PleskX</agent-to-use>
4913: 2010-03-01 08:26:17,627 INFO Packet succesfully validated.
4913: 2010-03-01 08:26:17,627 DEBUG <pmmcli.ActionRunner object at 0x95df50>: doActivity
4913: 2010-03-01 08:26:17,630 INFO Executing <subprocess[4914] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 20100301082617540'>
4913: 2010-03-01 08:26:19,089 INFO Execution of <subprocess[4914] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 20100301082617540'> finished successfully.
4913: 2010-03-01 08:26:19,090 DEBUG <pmmcli.MigrationGetObjectsListAction object at 0x95df90>: response
4913: 2010-03-01 08:26:19,091 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>1000</errcode>
<errmsg>launchpad error (Error code = 2):
== STDERR ====================
Invalid handle passed
==============================

I deleted the host IP in the logs. Can you make sense of this?

Maurits.
 
Hi Igor,

First of all, Thank you for your efforts to help me.

Correct me if I am wrong, but since I (a paying customer ;) cant restore my backups due to a bug in 9.3 which is fixed in 9.5 (ETA unknown) and I haven't been able to migrate using the Migration Manager because of an other bug ... is it? I am now in trouble. I have to hope my server stays online till Plesk 9.5 is released. I find that very troubeling.

Are there any other options. I cant believe that i am alone in having these troubles. Should I buy support from Plesk.

Please advise.

Maurits.
 
You can submit ticket to support regarding this problem. Support guys will help you and if it is really Plesk bug you will be refunded for this ticket.
 
hello
any news about this error or ples 9.5?
i have to migrate domains and get the same error :/

it exist a workarround for this?
 
Try to use the PleskX.pl script. It in /usr/local/psa/agents/PleskX. You can make a dump of the whole server, or by domain. It worked for me, after trying everything else.
 
hi igor, any tips how to resolv this bug when we move domain via migration manager (web interface) ?
 
Back
Top