Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to troubleshoot problems after the main program is abnormally interrupted or indicates that the migration is not successful

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about how to troubleshoot problems after an abnormal interruption of the main program or a hint that the migration is not successful. Many people may not know much about it. In order to make you understand better, the editor summed up the following. I hope you can get something according to this article.

Problem troubleshooting

Cloud migration tool supports breakpoint recovery, and file transfer process supports breakpoint continuation. In general, if the main program is interrupted abnormally or indicates that the migration is not successful, after troubleshooting the problem, you can run the main program again to resume the cloud migration work.

After successfully migrating the Windows server of Windows Server 2008 or above, you need to use the Reset File Permission tool to repair the default file system permissions after starting the instance to ensure that the instance service and components are normal.

Log error prompt IllegalTimestamp

Please check that the system time is the correct time.

Log error prompt UnKnownError

Please check whether the parameter platform in the configuration file user_config.json is correct.

Log error prompt OperationDenied

Log files prompt such as rsync: send_files failed to open "…" The error message of Permission denied (13) indicates that Aliyun's cloud migration tool does not have the right to access the directory or folder, causing rsync to fail. At this point you can filter the directory or folder by configuring rsync_excludes_linux.txt or Rsync/etc/rsync_excludes_win.txt, and then try again.

Log error prompt InvalidAccountStatus.NotEnoughBalance

The default payment method for transit instances is pay by quantity (Pay-As-You-Go). When your account balance is insufficient, you cannot move to the cloud smoothly. You need to update your account status and try again.

Log error prompt Forbidden.RAM

The RAM account you use does not have sufficient permissions to use the relevant API.

You need to be granted ECS and VPC access to AliyunECSFullAccess and AliyunVPCFullAccess. For more details, see RAM documentation Authorization Policy Management.

Log error prompt InvalidImageName.Duplicated

The specified parameter image_name cannot duplicate your existing mirror name.

Log error prompt Connect to Server Failed

The error indicates that the transit instance cannot be connected. You can follow these steps to check:

View log file details.

Check in turn:

Whether the status of the transit instance is normal.

Whether the local network service is normal. The cloud migration tool needs to access the 80,443,8703 and 8080 communication ports. Please make sure that your server has released these ports.

After the problem is resolved, run the main program again and try again.

Log error prompt Do Rsync Disk x Failed

The error indicates that the file transfer was interrupted. You can follow these steps to check:

View error log file details. If the message return: 3072 or return: 7680 appears multiple times in the error log file, make sure that the source server database service or container service is not enabled, such as Oracle, MySQL, MS SQL Server, MongoDB and Docker. You need to suspend the service or exclude the relevant data file directory before moving to the cloud.

Check in turn

Whether the status of the transit instance is normal.

Whether the local network service is normal. The cloud migration tool needs to access the 80,443,8703 and 8080 communication ports. Please make sure that your server has released these ports.

After the problem is resolved, run the main program again and try again.

Windows server card is in Prepare For Rsync Disk 0 phase.

The Windows server moves to the cloud and stops at Prepare For Rsync Disk 0. After viewing the log file, it is found that VssSnapshotProperties::VssSnapshotProperties GetSnapshotProperties Failed: 0x80042308 is displayed. At this point you can:

Enable the Volume Shadow Copy service:

Click start in the server, enter the service in the search box, and enter to confirm.

Locate the Volume Shadow Copy service and click to start it.

Uninstall the QEMU Guest Agent software:

Click start in the server, enter the service in the search box, and enter to confirm.

Check to see if there is a QEMU Guest Agent VSS Provider service. If not, you can rerun the cloud migration tool directly.

Locate the uninstall script, approximately located in the C:\ Program Files (x86)\ virtio\ monitor\ uninstall.bat directory, and execute the script to uninstall the QEMU Guest Agent software.

Rerun the cloud migration tool.

After migrating the Windows server, starting the instance is prompted to activate Windows?

You can reinstall Windows KMS Client Key and activate the Windows service through KMS.

Remotely log in to the Windows instance.

The KMS Client Key corresponding to the Windows server is queried on the Microsoft KMS Client Keys page, which is assumed to be xxxx-xxxx-xxxx-xxxx-xxxx.

Open the command line tool with administrator privileges and run the following command:

Slmgr / upkslmgr / ipk xxxx-xxxx-xxxx-xxxx-xxxx

Use KMS to activate Windows. For more details, see ECS Windows system Activation method in VPC environment.

After migrating the Windows server, start the instance and find that the data disk is missing or the drive letter is out of order?

If the data drive letter is missing, you can open disk Manager and add it again.

Open Control Panel > system and Security > Administrative tools > computer Management.

Locate and right-click the data disk where the drive letter is missing, and click change Drive and path.

Click add and add the data drive letter.

If the data drive letter is out of order, you can open disk Manager and change it again.

Open Control Panel > system and Security > Administrative tools > computer Management.

Locate and right-click the data disk where the drive letter is missing, and click change Drive and path.

Click change and change the data drive letter.

Linux server log error prompt check rsync failed

Check to see if the rsync component is installed on the system.

Linux server log error prompt check virtio failed

Please check if the virtio driver is installed on the system.

Linux server log error prompt check selinux failed

Please check if SElinux is disabled.

You can temporarily shut down SELinux by running setenforce 0.

Linux server log error prompt Do Grub Failed

When the log file prompts for error messages such as Do Grub Failed, make sure that the source server has the system bootstrap program GRUB (GRand Unified Bootloader) installed. You can install version 1.9 or above of the system bootstrap program GRUB and try again.

After migrating the Linux server, start the instance and find that there is no data in the original data disk directory?

After migrating a Linux server with a data disk, the data disk is not mounted by default when the instance is started. You can run the ls / dev/vd* command after starting the ECS instance to view the data disk device, mount it manually according to the actual needs, and edit / etc/fstab to configure automatic mount when booting.

After migrating the Linux server, why can't the instance created from this custom image be started?

Check the driver. Make sure that the source server already has the virtio driver installed when creating an instance of Ipaw O optimization.

Check that the source system boot configuration is correct.

If your source server system is CentOS 5 or Debian 7 with a lower kernel version, and your own GRUB program version is less than 1.99, and log in to the instance remotely on the ECS console, you will find the boot interface shown in the following figure.

You can install version 1.9 or above of the system bootstrap program GRUB and try again.

After starting the Others Linux instance, the network service is not normal?

When importing an Others Linux image, Aliyun does not do any configuration work on the instance created by the custom image, including relevant network configuration, SSH configuration, and so on. At this point, you need to modify the relevant network configuration of the system.

After reading the above, do you have any further understanding of how to troubleshoot the problem after the main program is interrupted abnormally or indicates that the migration is unsuccessful? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report