AWS Application Migration Service Error : Failed Installing the AWS Replication Agent
[root@ip ~]# python3 aws-replication-installer-init.py
The installation of the AWS Replication Agent has started.
AWS Region Name: XXXXXXXXXXXXXXX
AWS Access Key ID: XXXXXXXXXXXXXXX
AWS Secret Access Key:
Identifying volumes for replication.
Choose the disks you want to replicate. Your disks are: /dev/xvda
To replicate some of the disks, type the path of the disks, separated with a comma (for example, /dev/sda,/dev/sdb). To replicate all disks, press Enter:
Identified volume for replication: /dev/xvda of size 30 GiB
All volumes for replication were successfully identified.
Downloading the AWS Replication Agent onto the source server... Finished.
Installing the AWS Replication Agent onto the source server...
Error: Failed Installing the AWS Replication Agent
Installation failed.
Learn more about installation issues in our documentation at https://docs.aws.amazon.com/mgn/latest/ug/Error-Installtion-Failed.html
[root@ip ~]#
Solutions: Install package elfutils.* ,elfutils-libelf-devel
[root@ip ~]# python3 aws-replication-installer-init.py
The installation of the AWS Replication Agent has started.
AWS Region Name: XXXXXXXXXXXXXXX
AWS Access Key ID: XXXXXXXXXXXXXXX
AWS Secret Access Key:
Identifying volumes for replication.
Choose the disks you want to replicate. Your disks are: /dev/xvda
To replicate some of the disks, type the path of the disks, separated with a comma (for example, /dev/sda,/dev/sdb). To replicate all disks, press Enter:
Identified volume for replication: /dev/xvda of size 30 GiB
All volumes for replication were successfully identified.
Downloading the AWS Replication Agent onto the source server... Finished.
Installing the AWS Replication Agent onto the source server... Finished.
Syncing the source server with the Application Migration Service Console... Finished.
The following is the source server ID: XXXXXXXXXXXXXX
The AWS Replication Agent was successfully installed.
[root@ip ~]#