• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Migration error

DereckB

New Pleskian
When migrating from one server to anoter, I get an error described on several places :
Code:
Error: pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this

But pmmcli.log says dump.xml is missing, which is not the usual error.
I post pmmcli.log in 2 parts because:
1 - I can't post any attachement (the window remains empty)
2 - the file contains more than 10000 chars, which is the max length on this forum
 
pmmcli.log part 1

pmmcli.log part 1

Code:
2426: 2013-05-06 10:21:13,411 DEBUG --> <pmmcli.MigrationRemoveSessionDataAction object at 0xe49090>
2426: 2013-05-06 10:21:13,411 INFO parameters: ['20130506101436230']
2426: 2013-05-06 10:21:13,414 DEBUG <pmmcli.ActionRunner object at 0xe49050>: doActivity
2426: 2013-05-06 10:21:13,415 INFO Executing <subprocess[2427] '/opt/psa/admin/bin/migration-handler --migration-get-session 20130506101436230'>
2426: 2013-05-06 10:21:13,473 INFO Execution of <subprocess[2427] '/opt/psa/admin/bin/migration-handler --migration-get-session 20130506101436230'> finished successfully.
2426: 2013-05-06 10:21:13,475 INFO Executing <subprocess[2428] '/opt/psa/admin/bin/migration-handler --migration-remove-session-data 20130506101436230'>
2426: 2013-05-06 10:21:13,711 INFO Execution of <subprocess[2428] '/opt/psa/admin/bin/migration-handler --migration-remove-session-data 20130506101436230'> finished successfully.
2426: 2013-05-06 10:21:13,711 DEBUG <pmmcli.MigrationRemoveSessionDataAction object at 0xe49090>: response
2426: 2013-05-06 10:21:13,712 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>0</errcode>
</response>

2430: 2013-05-06 10:21:13,937 DEBUG --> <pmmcli.GetTasksListAction object at 0x114e050>
2430: 2013-05-06 10:21:13,937 INFO parameters: ['Migration']
2430: 2013-05-06 10:21:13,940 DEBUG <pmmcli.ActionRunner object at 0x111afd0>: doActivity
2430: 2013-05-06 10:21:13,940 DEBUG Acquired session mutex: MainThread
2430: 2013-05-06 10:21:13,940 DEBUG Released session mutex: MainThread
2430: 2013-05-06 10:21:13,940 DEBUG <pmmcli.GetTasksListAction object at 0x114e050>: response
2430: 2013-05-06 10:21:13,941 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>0</errcode>
    <data>
        <task-list>
        </task-list>
    </data>
</response>

2431: 2013-05-06 10:21:14,001 DEBUG --> <pmmcli.GetSessionsListAction object at 0x1cd5090>
2431: 2013-05-06 10:21:14,001 INFO parameters: ['Migration']
2431: 2013-05-06 10:21:14,003 DEBUG <pmmcli.ActionRunner object at 0x1cd5050>: doActivity
2431: 2013-05-06 10:21:14,004 INFO Executing <subprocess[2432] '/opt/psa/admin/bin/migration-handler --migration-get-sessions-list'>
2431: 2013-05-06 10:21:14,056 INFO Execution of <subprocess[2432] '/opt/psa/admin/bin/migration-handler --migration-get-sessions-list'> finished successfully.
2431: 2013-05-06 10:21:14,056 DEBUG <pmmcli.GetSessionsListAction object at 0x1cd5090>: response
2431: 2013-05-06 10:21:14,057 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>0</errcode>
    <data>
        <session-list>
        </session-list>
    </data>
</response>

2433: 2013-05-06 10:21:48,886 DEBUG --> <pmmcli.GetScoutInfoAction object at 0x2788050>
2433: 2013-05-06 10:21:48,886 INFO stdin: <migration-task-description owner-guid="93e79765-b04b-41f5-b71c-ac5a1253cc1c"><agent-credentials><host-credentials remoting-type="ssh" port="20022"><login>root</login><password>DHsy2Sta</password><hostname>94.23.203.221</hostname></host-credentials><log-directory>/var/cache/</log-directory></agent-credentials><dst-host-parameters><dst-temporary-directory>/opt/psa/PMM/var</dst-temporary-directory></dst-host-parameters></migration-task-description>
2433: 2013-05-06 10:21:48,889 INFO Packet succesfully validated.
2433: 2013-05-06 10:21:48,889 DEBUG <pmmcli.ActionRunner object at 0x2754fd0>: doActivity
2433: 2013-05-06 10:21:48,890 INFO Executing <subprocess[2434] '/opt/psa/admin/bin/migration-handler --migration-get-scout-info'>
2433: 2013-05-06 10:21:49,168 INFO Execution of <subprocess[2434] '/opt/psa/admin/bin/migration-handler --migration-get-scout-info'> finished successfully.
2433: 2013-05-06 10:21:49,169 DEBUG <pmmcli.GetScoutInfoAction object at 0x2788050>: response
2433: 2013-05-06 10:21:49,170 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>0</errcode>
    <data>
        <scout-result migration-session-id="20130506102148650">
            <detected-panel name="Plesk 11.0.9" agent="PleskX"></detected-panel>
            <os-info loadavg="0.00 0.03 0.07" os="CentOS release 6.3 (Final) x86_64">
                <package-installed version="5.1" name="mysql">

</package-installed>
                <package-installed version="2.2.15" name="apache">

</package-installed>
                <package-installed version="" name="qmail">

</package-installed>
                <package-installed version="" name="sendmail">

</package-installed>
                <package-installed version="3.0.6" name="rsync">

</package-installed>
                <package-installed version="11.0.9" name="plesk">

</package-installed>
            </os-info>
            <remote-fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/" type="ext4" size="21419245568"></fs>
                <fs free="8359964672" mode="rw" device="none" mountpoint="/dev" type="devtmpfs" size="8360206336"></fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/var/named/chroot/etc/rndc.key" type="ext4" size="21419245568"></fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/var/named/chroot/etc/named.rfc1912.zones" type="ext4" size="21419245568"></fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/var/named/chroot/etc/named" type="ext4" size="21419245568"></fs>
                <fs free="1825210269696" mode="rw" device="/dev/md2" mountpoint="/var/named/chroot/var/named" type="ext4" size="1977451167744"></fs>
                <fs free="1825210269696" mode="rw" device="/dev/md2" mountpoint="/var" type="ext4" size="1977451167744"></fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/var/named/chroot/usr/lib64/bind" type="ext4" size="21419245568"></fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/var/named/chroot/etc/named.root.key" type="ext4" size="21419245568"></fs>
                <fs free="18302476288" mode="rw" device="/dev/root" mountpoint="/var/named/chroot/etc/named.iscdlv.key" type="ext4" size="21419245568"></fs>
            </remote-fs>
        </scout-result>
    </data>
</response>

2436: 2013-05-06 10:21:49,233 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0xd37090>
2436: 2013-05-06 10:21:49,233 INFO parameters: ['20130506102148650']
2436: 2013-05-06 10:21:49,233 INFO stdin: <agent-to-use>PleskX</agent-to-use>
2436: 2013-05-06 10:21:49,236 INFO Packet succesfully validated.
2436: 2013-05-06 10:21:49,236 DEBUG <pmmcli.ActionRunner object at 0xd37050>: doActivity
2436: 2013-05-06 10:21:49,238 INFO Executing <subprocess[2437] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20130506102148650'>
2436: 2013-05-06 10:21:59,140 INFO Subprocess raised ExecuteException: Subprocess <subprocess[2437] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20130506102148650'> was finished with exit code 1
 
pmmcli.log part 2

pmmcli.log part 2

Code:
== STDOUT ====================
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>1001</errcode>
    <errmsg>Runtime error in migration handler:
&lt;type 'exceptions.IOError'&gt; [Errno 2] No such file or directory: '/opt/psa/PMM/msessions/20130506102148650/dump.xml'
Traceback (most recent call last):
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1682, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1481, in migration_get_objects_list
    return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
    result = self.processor.doActivity()
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
    objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
  File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 112, in getObjectsList
    objects_list = self.makeObjectsListFromDump(agent_name)
  File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 122, in makeObjectsListFromDump
    parser.parse(dump_path)
  File "/usr/lib/python2.6/xml/sax/expatreader.py", line 102, in parse
    source = saxutils.prepare_input_source(source)
  File "/usr/lib/python2.6/xml/sax/saxutils.py", line 298, in prepare_input_source
    f = urllib.urlopen(source.getSystemId())
  File "/usr/lib/python2.6/urllib.py", line 86, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.6/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.6/urllib.py", line 469, in open_file
    return self.open_local_file(url)
  File "/usr/lib/python2.6/urllib.py", line 483, in open_local_file
    raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: '/opt/psa/PMM/msessions/20130506102148650/dump.xml'
</errmsg>
</response>

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

2436: 2013-05-06 10:21:59,140 CRITICAL PMMUtility exception:
Subprocess <subprocess[2437] '/opt/psa/admin/bin/migration-handler --migration-get-objects-list 20130506102148650'> was finished with exit code 1
== STDOUT ====================
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>1001</errcode>
    <errmsg>Runtime error in migration handler:
&lt;type 'exceptions.IOError'&gt; [Errno 2] No such file or directory: '/opt/psa/PMM/msessions/20130506102148650/dump.xml'
Traceback (most recent call last):
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1682, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 1481, in migration_get_objects_list
    return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
    result = self.processor.doActivity()
  File "/opt/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
    objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
  File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 112, in getObjectsList
    objects_list = self.makeObjectsListFromDump(agent_name)
  File "/opt/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 122, in makeObjectsListFromDump
    parser.parse(dump_path)
  File "/usr/lib/python2.6/xml/sax/expatreader.py", line 102, in parse
    source = saxutils.prepare_input_source(source)
  File "/usr/lib/python2.6/xml/sax/saxutils.py", line 298, in prepare_input_source
    f = urllib.urlopen(source.getSystemId())
  File "/usr/lib/python2.6/urllib.py", line 86, in urlopen
    return opener.open(url)
  File "/usr/lib/python2.6/urllib.py", line 207, in open
    return getattr(self, name)(url)
  File "/usr/lib/python2.6/urllib.py", line 469, in open_file
    return self.open_local_file(url)
  File "/usr/lib/python2.6/urllib.py", line 483, in open_local_file
    raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: '/opt/psa/PMM/msessions/20130506102148650/dump.xml'
</errmsg>
</response>

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

Traceback (most recent call last):
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2250, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 2152, in migration_get_objects_list
    return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 156, in doActivity
    result = self.processor.doActivity()
  File "/opt/psa/admin/share/pmmcli/pmmcli.py", line 1661, in doActivity
    return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
  File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 211, in migrationGetObjectsList
    return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
  File "/opt/psa/admin/share/pmmcli/pmm_migration_handler.py", line 511, in callMigrationHandlerWithResponse
    raise PMMUtilityException('migration_handler', x)
PMMUtilityException: migration_handler was finished with exit code 1

2436: 2013-05-06 10:21:59,141 INFO Outgoing packet:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <errcode>1000</errcode>
    <errmsg>pmm utility 'migration_handler' raised an exception. Error code is: 1
See pmmcli.log to find out detailed information on this</errmsg>
</response>
 
Back
Top