The SourceServer.Error import exception
This topic describes the cause of the "SourceServer.Error" error message that appears when you use the Server Migration Center (SMC) console to migrate the information about a migration source. This topic also describes how to resolve the error.
Problem description
During the import of the information about a migration source in SMC, the "SourceServer.Error" error message is reported.
Cause
Physical server, VM, or cloud server: If the error contains no specific error code, the source server likely cannot access the Internet or does not support remote logon over SSH.
Elastic Compute Service (ECS) instance: Cloud Assistant Agent is either not installed or not running correctly on the ECS instance.
If the error message contains a specific "S1" error code, a possible cause is that an error occurred in the condition check on the source server. The following list describes the causes of different "S1" error codes.
S1_101: SELinux is enabled on the source server.
S1_102: The VirtIO driver is not installed on the source server.
S1_103: rsync is not installed on the source server.
S1_104: The SSH client is not installed on the source server.
S1_105: GRand Unified Bootloader (GRUB) is not installed on the source server.
Solution
-
Physical server, VM, or cloud server
Verify that the source server can access the Internet. For example, confirm that the server can reach
https://www.aliyun.com.-
Verify that the source server supports remote logon over SSH.
If the source server runs Windows, install OpenSSH first. For installation instructions, see the How do I install the OpenSSH service on a Windows server? section of the "FAQ" topic.
After OpenSSH is installed, use an SSH client to log on to the migration source using the SSH username and password over the public IP address and port number.
-
ECS instance
Check whether Cloud Assistant Agent is installed on the ECS instance. For installation instructions, see Install the Cloud Assistant agent.
If Cloud Assistant Agent is installed but not running correctly, resolve the status anomalies. For details, see Cloud Assistant status and troubleshooting.
If a specific "S1" error code is returned, you can resolve the error based on the error code.
S1_101: Disable SELinux on the source server. For more information, see the How do I disable SELinux? section of the "FAQ" topic.
S1_102: Install the VirtIO driver on the source server. For more information, see Install virtio driver.
S1_103: Install rsync on the source server. For more information, see the How do I install Rsync? section of the "FAQ" topic.
S1_104: Install the SSH client on the source server. Run the corresponding command based on the operating system of the source server to install the SSH client.
CentOS:
yum -y install openssh-clientsUbuntu and Debian:
apt-get -y install openssh-clientSUSE:
zypper install opensshOther operating systems: For more information, see the installation documentation on the official website.
S1_105: Install GRUB on the source server. For more information, see Install GRUB on a Linux server.
After completing these steps, retry the migration source import in the SMC console. If the import still fails, use the CLI or the SMC client instead. For more information, see Import the information about a migration source by using the CLI and Import the information about a migration source by using the SMC client.