Help Center/ Server Migration Service/ User Guide (Kuala Lumpur Region)/ FAQs/ Disk Management/ How Do I Fix Error "Failed to modify the configuration files of the target server"?
Updated on 2024-03-15 GMT+08:00

How Do I Fix Error "Failed to modify the configuration files of the target server"?

Symptom

When you tried to modify the configuration files of a Linux target server, you got message "SMS.3101 Failed to modify the configuration files of the target server."

Possible Causes

The possible cause for the error is as follows:

  • The /etc/hosts file may be incorrectly configured.

Solution

  • The /etc/hosts file may be incorrectly configured.

    Possible cause: The content of the /boot/grub2/grub.cfg file is written to the /etc/default/grub file by mistake.

    Handling method: On , create an ECS running the same or similar OS as the source server, copy the /etc/default/grub file of the new ECS to overwrite that file of your target ECS, and try again.