• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

migrating from cpanel to plesk 11 show an error 1

h.a.d.i

New Pleskian
hi
i`v installed plesk on amazon ec2
i`m trying to migrate accounts from cpanel to plesk 11 but migration manager show an error with exit code 2

this is the full pmmcli.log in the attachemnt

in the log every thing seams going okay but here what generate the exception

<?xml version="1.0" encoding="UTF-8"?>
<response>
<errcode>0</errcode>
<data>
<scout-result migration-session-id="2012110503101796">
<detected-panel name="cPanel 11.32" agent="cPanel9"></detected-panel>
<os-info loadavg="0.01 0.02 0.00" os="CentOS release 5.5 (Final) i686">
<package-installed version="5.1" name="mysql">

</package-installed>
<package-installed version="8.3.3" name="postgresql">

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

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

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

</package-installed>
</os-info>
<remote-fs>
<fs free="675083214848" mode="rw" device="/dev/sda3" mountpoint="/" type="ext3" size="982249517056"></fs>
<fs free="107424768" mode="rw" device="/dev/sda1" mountpoint="/boot" type="ext2" size="135378944"></fs>
</remote-fs>
</scout-result>
</data>
</response>

21298: 2012-11-05 03:10:18,224 DEBUG --> <pmmcli.MigrationGetObjectsListAction object at 0x183a0d0>
21298: 2012-11-05 03:10:18,224 INFO parameters: ['2012110503101796']
21298: 2012-11-05 03:10:18,224 INFO stdin: <agent-to-use>cPanel9</agent-to-use>
21298: 2012-11-05 03:10:18,228 INFO Packet succesfully validated.
21298: 2012-11-05 03:10:18,229 DEBUG <pmmcli.ActionRunner object at 0x183a090>: doActivity
21298: 2012-11-05 03:10:18,327 INFO Executing <subprocess[21299] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 2012110503101796'>
21298: 2012-11-05 03:10:36,876 INFO Subprocess raised ExecuteException: Subprocess <subprocess[21299] '/usr/local/psa/admin/bin/migration-handler --migration-get-objects-list 2012110503101796'> 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 2
Traceback (most recent call last):
File "/usr/local/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 "/usr/local/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 "/usr/local/psa/admin/share/migration-handler/migration_handler.py", line 100, in doActivity
result = self.processor.doActivity()
File "/usr/local/psa/admin/share/migration-handler/migration_handler.py", line 344, in doActivity
objects_list_object = service.getObjectsList(self.__agent_to_use, agent_dir)
File "/usr/local/psa/admin/share/migration-handler/pmm_migr_remote_service_impl.py", line 110, in getObjectsList
self.runCmdLine(cmd)
File "/usr/local/psa/admin/share/migration-handler/pmm_migr_remote_service.py", line 55, in runCmdLine
self.session.runWorker(cmd)
File "/usr/local/psa/admin/share/migration-handler/migration_handler_session.py", line 322, in runWorker
cmd.spawn()
File "/usr/local/psa/admin/lib/python/subproc.py", line 246, in spawn
self.proc.run()
File "/usr/local/psa/admin/lib/python/subproc.py", line 191, in run
BaseSubprocess.run(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 169, in run
self.wait()
File "/usr/local/psa/admin/lib/python/subproc.py", line 199, in wait
BaseSubprocess.wait(self)
File "/usr/local/psa/admin/lib/python/subproc.py", line 179, in wait
raise NonzeroExitException(self, self.__retcode)
NonzeroExitException: was finished with exit code 2
</errmsg>
</response>
 

Attachments

  • pmmcli.log.txt
    34.7 KB · Views: 3
thank you for your reply
i read the article but as if it was talking about migration from plesk to plesk servers
because e it was talking about plesX.pl migration script in both servers

pleas correct me if i`m wrong

thank you in advanced
 
I hope that you use root account for performing this migration?
 
hello
yes of course i`m using root access but i got this exception in the attachment above

could you pleas add some explanation about migration from none plesk control panel (cpanel in this case ) to plesk
using command line maybe it will solve the issue

thank you for your help
 
Back
Top