1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

pmm utility 'migration_handler' raised an exception. Error code is: 1

Discussion in 'Plesk 9.x for Windows Issue, Fixes, How-To' started by Bugra COLAK, Jan 13, 2010.

  1. Bugra COLAK

    Bugra COLAK Guest

    0
     
    We are trying to migrate with migration manager and we are getting error.

    Source Server : Windows 2003 Plesk 9.2.1
    Destination Server : Windows 2008 R2 64-Bit Plesk 9.3

    We have installed migration manager for 9.3 on both servers.

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


    464: 2010-01-14 01:53:36,677 DEBUG --> <pmmcli.GetScoutInfoAction object at 0x024CB4D0>
    464: 2010-01-14 01:53:36,677 INFO stdin: <migration-task-description owner-guid="9AF869BD-6A42-4F2B-B834-2EE8578CEE04"><agent-credentials><host-credentials remoting-type="dotnet-remoting"><login>administrator</login><password>dinamo-3597</password><hostname>212.174.10.10</hostname></host-credentials></agent-credentials><dst-host-parameters><dst-temporary-directory>C:\temp</dst-temporary-directory></dst-host-parameters></migration-task-description>
    464: 2010-01-14 01:53:36,681 INFO Packet succesfully validated.
    464: 2010-01-14 01:53:36,684 DEBUG <pmmcli.ActionRunner object at 0x024CB710>: doActivity
    464: 2010-01-14 01:53:36,687 INFO Executing <subprocess[3916] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-scout-info'>
    464: 2010-01-14 01:53:43,641 INFO Execution of <subprocess[3916] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-scout-info'> finished successfully.
    464: 2010-01-14 01:53:43,642 DEBUG <pmmcli.GetScoutInfoAction object at 0x024CB4D0>: response
    464: 2010-01-14 01:53:43,644 INFO Outgoing packet:
    <?xml version="1.0" encoding="UTF-8"?>
    <response>
    <errcode>0</errcode>
    <data>
    <scout-result migration-session-id="20100114015337395">
    <detected-panel name="Plesk 9.2.1" agent="{3A443229-0EA2-4b75-96B4-247BA11BDF62}"></detected-panel>
    <os-info loadavg="0.00" os="Microsoft Windows NT 5.2.3790 Service Pack 2"></os-info>
    <remote-fs>
    </remote-fs>
    </scout-result>
    </data>
    </response>

    3384: 2010-01-14 01:53:44,072 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0x024F9410>
    3384: 2010-01-14 01:53:44,072 INFO parameters: ['20100114015337395']
    3384: 2010-01-14 01:53:44,072 INFO stdin: <agent-to-use>{3A443229-0EA2-4b75-96B4-247BA11BDF62}</agent-to-use>
    3384: 2010-01-14 01:53:44,076 INFO Packet succesfully validated.
    3384: 2010-01-14 01:53:44,078 DEBUG <pmmcli.ActionRunner object at 0x024F9710>: doActivity
    3384: 2010-01-14 01:53:44,082 INFO Executing <subprocess[3116] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-objects-list 20100114015337395'>
    3384: 2010-01-14 01:53:52,184 INFO Subprocess raised ExecuteException: Subprocess <subprocess[3116] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-objects-list 20100114015337395'> 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;class 'subproc.NonzeroExitException'&gt; was finished with exit code -3

    Traceback (most recent call last):

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1394, in main

    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1193, in migration_get_objects_list

    return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 88, in doActivity

    result = self.processor.doActivity()

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 311, in doActivity

    objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service_impl.py", line 106, in getObjectsList

    proc = self.runCmdLine(cmd)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service.py", line 51, in runCmdLine

    self.session.runWorker(cmd)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler_session.py", line 290, in runWorker

    cmd.spawn()

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 240, in spawn

    self.proc.run()

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 185, in run

    BaseSubprocess.run(self)

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 169, in run

    self.wait()

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 193, in wait

    BaseSubprocess.wait(self)

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 179, in wait

    raise NonzeroExitException(self, self.__retcode)

    NonzeroExitException: was finished with exit code -3

    </errmsg>

    </response>


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

    3384: 2010-01-14 01:53:52,187 CRITICAL PMMUtility exception:
    Subprocess <subprocess[3116] 'C:\\Program Files (x86)\\Plesk\\admin\\bin\\migration-handler --migration-get-objects-list 20100114015337395'> 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;class 'subproc.NonzeroExitException'&gt; was finished with exit code -3

    Traceback (most recent call last):

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1394, in main

    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 1193, in migration_get_objects_list

    return MigrationHandlerActionRunner(MigrationGetObjectsListAction, agent_to_use, migration_session_id).doActivity()

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 88, in doActivity

    result = self.processor.doActivity()

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler.py", line 311, in doActivity

    objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service_impl.py", line 106, in getObjectsList

    proc = self.runCmdLine(cmd)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\pmm_migr_remote_service.py", line 51, in runCmdLine

    self.session.runWorker(cmd)

    File "C:\Program Files (x86)\Plesk\admin\share\migration-handler\migration_handler_session.py", line 290, in runWorker

    cmd.spawn()

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 240, in spawn

    self.proc.run()

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 185, in run

    BaseSubprocess.run(self)

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 169, in run

    self.wait()

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 193, in wait

    BaseSubprocess.wait(self)

    File "C:\Program Files (x86)\Plesk\admin\lib\python\subproc.py", line 179, in wait

    raise NonzeroExitException(self, self.__retcode)

    NonzeroExitException: was finished with exit code -3

    </errmsg>

    </response>


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

    Traceback (most recent call last):
    File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 1846, in main
    data_action_response, errcode_response, error_message = actions.get(sys.argv[1][2:])(parameters)
    File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 1750, in migration_get_objects_list
    return ActionRunner(MigrationGetObjectsListAction, migration_task_description, migration_session_id).doActivity()
    File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 75, in doActivity
    result = self.processor.doActivity()
    File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmmcli.py", line 1316, in doActivity
    return pmm_migration_handler.MigrationHandler.migrationGetObjectsList( self.__migration_session_id ,self.__agent_to_use.getValueOf_() )
    File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmm_migration_handler.py", line 201, in migrationGetObjectsList
    return MigrationHandler.callMigrationHandlerWithResponse('--migration-get-objects-list', session_id = migration_session_id, input_str = agent_to_use)
    File "C:\Program Files (x86)\Plesk\admin\share\pmmcli\pmm_migration_handler.py", line 501, in callMigrationHandlerWithResponse
    raise PMMUtilityException('migration_handler', x)
    PMMUtilityException: was finished with exit code 1

    3384: 2010-01-14 01:53:52,187 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>
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Not sure that it is good idea to install migration manager for Plesk 9.3 version on server with Plesk 9.2.1 version...
     
  3. Bugra COLAK

    Bugra COLAK Guest

    0
     
    We have tried older versions before.
    That time it gave an error about older version...
     
  4. Bugra COLAK

    Bugra COLAK Guest

    0
     
    The version of Plesk Migration Agent running on the remote host is older than the version of Plesk Migration Manager being currently used. Please install Plesk Migration Manager components of the same version.

    After installing plesk migration 9.2... on both servers
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Look at this thread. Maybe it will help.
     
  6. Bugra COLAK

    Bugra COLAK Guest

    0
     
    Our situation is different from the thread that you send.
    We want to transfer from 9.2 to 9.3.

    If we use pmm 9.2 it gaves us this error:
    The version of Plesk Migration Agent running on the remote host is older than the version of Plesk Migration Manager being currently used. Please install Plesk Migration Manager components of the same version.

    And if we use 9.3 it gaves us this error:
    pmm utility 'migration_handler' raised an exception. Error code is: 1
    See pmmcli.log to find out detailed information on this

    We tried a lot...
    Plesk 9.2 installed pmm 9.2 ->Plesk 9.3 no pmm
    Plesk 9.2 installed pmm 9.3 ->Plesk 9.3 no pmm
    Plesk 9.2 installed pmm 9.2 ->Plesk 9.3 installed pmm 9.2
    Plesk 9.2 installed pmm 9.3 ->Plesk 9.3 installed pmm 9.3
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Try to upgrade source server to 9.3.0 version too and install identical migration-agent on both servers.
     
  8. Bugra COLAK

    Bugra COLAK Guest

    0
     
    We are afraid of upgrading Plesk :)
    Whenever we upgrade the panel, always errors occur.

    We will try, wish us luck :)
     
  9. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Good luck guys :)

    But if you meet the other problem than in the mentioned thread, I'm afraid that only support team can help you.
     
  10. Bugra COLAK

    Bugra COLAK Guest

    0
     
    Upgrading from Plesk 9.2 to 9.3 returned an error :)
     
  11. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Is there the same initial error on 9.3.0 now ot something else? Can you run \Plesk\admin\bin>pmmcli.exe on both servers without errors?
     
  12. Bugra COLAK

    Bugra COLAK Guest

    0
     
    We can't upgrade 9.2.1 to 9.3.
    We tried to upgrade from several versions, to several versions for years with different servers.
     
  13. Peter Cassar

    Peter Cassar Guest

    0
     
    Same here, "pmm utility 'migration_handler' raised an exception. Error code is: 1"

    From 8.6 to 9.3.

    Upgrading to 9.3 isn't an option.
     
  14. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    It looks like that something broken there. It is require detailed investigation directly on server. Therefore I can suggest you contact support team for fixing this problem. Not sure that it can be fixed in forum's format.
     
  15. ManuelG2k

    ManuelG2k Basic Pleskian

    20
    90%
    Joined:
    Jan 18, 2010
    Messages:
    32
    Likes Received:
    0
    i have the same problem when migration from 8.3 to 9.3.
    The agent in 8.3 server is 9.3.
    The error is:

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


    I attach the log details
     

    Attached Files:

  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Try this workaround an update thread with results, please.
     
  17. ManuelG2k

    ManuelG2k Basic Pleskian

    20
    90%
    Joined:
    Jan 18, 2010
    Messages:
    32
    Likes Received:
    0
    it works for me :)

    tnx ;)
     
  18. DanielB1234

    DanielB1234 New Pleskian

    16
    60%
    Joined:
    Nov 10, 2010
    Messages:
    22
    Likes Received:
    0
    Same error with both Plesk 9.3

    We are having the same error with both Plesk 9.3 Ver. Panel.
    And also after applying the workaround suggested in http://kb.odin.com/en/8278.

    Any clue ?

    Thanks
     
Loading...