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

Migration Plesk 8.1.1 Lin to 9.2 Win - "Unable to initialize agent on remote host."

Discussion in 'Plesk 9.x for Windows Issue, Fixes, How-To' started by Aronv, Sep 15, 2009.

  1. Aronv

    Aronv Guest


    I'm trying to run migration manager on a Plesk 9.2 Windows machine to migrate domains from a Plesk 8.1.1 Linux machine. The update fails with this message: "Unable to initialize agent on remote host."

    On the source machine (the Linux host) I can see that migration manager logs in via SSH and agent files are deployed on the configured location. That's where it ends however.

    I tried to find log files on the target machine to learn more. All I can find is a folder with two small files "connect.data" and "result.data". These are binary but I can see they don't contain much more info than the error message.

    Googling for the error message delivers just a single result: a post on this forum about upgrading Ensim to Plesk 8.6 without any replies.

    Any ideas on where to look?

    Best regards,
  2. Aronv

    Aronv Guest


    The cause was that I used the user "admin" on the Linux source host. This user has most root privileges, but it is not "root". PMM needs to connect to the host as user "root".

    In order to make this possible I altered the SSH configuration in /etc/ssh/sshd_config:

    PermitRootLogin yes

    This is a security hole, so I enable it only during migration and then change it back to "no".