- Plesk for Linux
Unable to start migration with one of the following error messages:
PLESK_INFO: Unable to login to the source server 'source' (10.39.81.94) by SSH service: administrator login and/or password are not correct.
Set valid SSH credentials for the server and click "Prepare migration".
PLESK_INFO: SSH connection to the source server can not be used: there is unexpected output when executing commands. Clean output is required by migrator to execute commands and consume their output, and to run "rsync" tool (for file transfer) which uses SSH connection as transport and does not work if there is any unexpected output.
Migration fails with one of the following error messages:
PLESK_INFO: Error message or request description : Error: launchpad error (Error code = 2): == STDERR ==================== Cannot request remote agent status using command line /var/cache/2013100110274185/PleskX.pl: Died at AgentConfig.pm line 23. at AgentConfig.pm line 23 AgentConfig::AUTOLOAD() called at /var/cache/2013100110274185/PleskX.pl line 298 main::writeMigrationResult() called at /var/cache/2013100110274185/PleskX.pl line 304
PLESK_INFO: Cannot request remote agent status using command line /var/cache/20150318093912860/PleskX.pl: which: no ruby in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
Can't open perl script "/var/cache/20150318093912860/PleskX.pl": No such file or directory
PLESK_INFO: Failed to fetch basic information about resellers, clients and domains data from source servers
Cause: Failed to execute SQL query on Plesk database: failed to parse JSON returned by SQL script.
The root login is not permitted on the source server.
Connect to the source server via SSH.
/etc/ssh/sshd_configfile in a text editor. In this example, we are using the vi editor:
# vi /etc/ssh/sshd_config
PasswordAuthenticationsettings to 'yes' and remove '#' at the beginning of each line as shown below:
CONFIG_TEXT: PermitRootLogin yes
Save the changes and close the file.
Restart the SSH service:
# service sshd restart
Note: If you doubt that the root password is correct, reset it with the command 'passwd'.
To migrate with a non-root user, visit:
To learn more about Plesk migration, visit: