Why do I get an error when I try to use the Migration Manager in Plesk?
Print this Article
Comment on this Article
Last Updated:
February 4, 2008 9:20 AM
Before you try to migrate content, verify that the account on the server you're migrating from is a "sudo" account. Otherwise, you will get an error like this one when you try to migrate:
Cannot send scout to the remote host
Failed to execute scout.
The return code is 1
The output on STDERR is
Sorry, user Username is not allowed to execute '/usr/bin/perl' as root on ip-68-178-230-109.ip.secureserver.net.
Failed to execute scout.
The return code is 1
The output on STDERR is
Sorry, user Username is not allowed to execute '/usr/bin/perl' as root on ip-68-178-230-109.ip.secureserver.net.
To Add an Account to the "sudo" File on a Plesk Server
- In your browser, log in to Plesk (on your previous server) and verify that the user you want to use to transfer content has SSH access.
- Log in to your server using SSH.
- At the command line, type
su -
and use the password for the primary user ID on your server. - Once you have root access, type
visudo
to open the sudo file you need to edit. - In the User Privilege section, add the following line, where "USER" is the user ID you created in Plesk:
- Type :wq to close visudo.
NOTE: Do not edit this file using the standard vi editor. Use visudo
instead.
USER ALL=(ALL) ALL
After you add your account to the sudo file on the server you are transferring content from, you can connect to your new server and use the Migration Manager to transfer your content.