Help Center > > FAQs> Installing the Migration Agent> What Can I Do If the Linux Agent Cannot Start After the Installation?

What Can I Do If the Linux Agent Cannot Start After the Installation?

Updated at: Jun 12, 2020 GMT+08:00

Symptom

If error messages shown in Figure 1 are displayed after you enter AK/SK and start the Linux Agent, the rsync component is not installed on the source server. You need to install the rsync component and then restart the migration Agent.

Figure 1 Error messages

Procedure

If the OSs on the source servers are different, perform different operations as required:

If the source server OS is CentOS or Red Hat, perform the following operations:
  1. Use PuTTY or an SSH client to log in to the source server to be migrated as user root.
  2. Run the following command to install the rsync component:

    yum install rsync

  3. Enter y and press Enter.

  4. Run the following command to query the information about the rsync component:

    rsync --version

    If the following information is displayed, the rsync component is successfully installed:

  5. Run the following command to start the migration Agent:

    ./startup.sh

  6. Read the displayed information carefully, enter y, and press Enter.

  7. Enter the AK and SK of the HUAWEI CLOUD account to which the target ECS belongs as prompted.

    When the following information is displayed, the Linux SMS-Agent starts successfully. SMS-Agent starts sending source server information to SMS.

If the source server OS is a SUSE OS, perform the following operations:
  1. Use PuTTY or an SSH client to log in to the source server to be migrated as user root.
  2. Run the following command to install the rsync component:

    zypper install rsync

  3. Enter y and press Enter.

  4. Run the following command to query the information about the rsync component:

    rsync --version

    If the following information is displayed, the rsync component is successfully installed:

  5. Run the following command to start the migration Agent:

    ./startup.sh

  6. Read the displayed information carefully, enter y, and press Enter.

  7. Enter the AK and SK of the HUAWEI CLOUD account to which the target ECS belongs as prompted.

    When the following information is displayed, the Linux SMS-Agent starts successfully. SMS-Agent starts sending source server information to SMS.

If the source server OS is a Ubuntu OS, perform the following operations:
  1. Use PuTTY or an SSH client to log in to the source server to be migrated as user root.
  2. Run the following command to install the rsync component:

    apt-get install rsync

  3. Run the following command to query the information about the rsync component:

    rsync --version

    If the following information is displayed, the rsync component is successfully installed:

  4. Run the following command to start the migration Agent:

    ./startup.sh

  5. Read the displayed information carefully, enter y, and press Enter.

  6. Enter the AK and SK of the HUAWEI CLOUD account to which the target ECS belongs as prompted.

    When the following information is displayed, the Linux SMS-Agent starts successfully. SMS-Agent starts sending source server information to SMS.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel