Cannot start new migration: Failed to perform action: Check connections

Created:

2017-06-27 10:57:52 UTC

Modified:

2017-08-16 18:22:24 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot start new migration: Failed to perform action: Check connections

Applicable to:

  • Plesk for Linux

Note: This article has the reference to the issue with the fix available:

  • #PMT-3823 "If the source server was configured to produce any output in a non-interactive shell (such as an SSH welcome message), migration failed with an error. Now Plesk Migrator detects such configurations and shows a comprehensive message, explaining how to fix the issue."
    Fixed in:
Please consider updating your server:

Symptoms

When setting up a new migration in Plesk Migrator at Tools & Settings > Migration & Transfer Manager > Start a New Migration , the following error is shown after clicking Prepare migration :

Failed to perform action: Check connections
Cause: Command execution failed on the source server 'source' (203.0.113.2) with non-zero exit code.
command: cat 'up 7:32, 2 users, load average: 1.05, 1.46, 1.96
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 203.0.113.22 17:31 1:23m 0.17s 0.17s -bash
root pts/1 203.0.113.222 18:50 3:37 0.14s 0.14s -bash
PRODUCT_ROOT_D /opt/psa/version'
exit code: 1
stdout: ***hidden***
stderr: ***hidden***
That is a critical error, migration was stopped.

Cause

The welcome message is set up on a source server. It is a bug PMT-3823 . It is planned to be fixed in one of the next updates of the Plesk Migrator extension.

Resolution

As a workaround, disable the welcome message on the source server. It can be enabled in the different files:

/etc/motd
/etc/profile
~/.profile
~/.bash_profile
~/.bash_login
~/.bashrc

Check the specified files if they contain some commands or scripts to launch at user login and comment the corresponding lines.

Additional information

https://unix.stackexchange.com/questions/32435/what-are-the-different-ways-that-a-message-can-be-displayed-to-a-bash-shell-afte

Have more questions? Submit a request
Please sign in to leave a comment.