Skip to content

OSError: [Errno 8] Exec format error: './aws-replication-installer-64bit'

0

just downloaded agent on Amazon Linux 3 wget -O ./aws-replication-installer-init.py https://aws-application-migration-service-us-east-1.s3.amazonaws.com/latest/linux/aws-replication-installer-init.py on executing the script getting error OSError: [Errno 8] Exec format error: './aws-replication-installer-64bit'

asked 2 years ago1.6K views

1 Answer
0

The error you're encountering suggests that there might be an issue with the compatibility or execution of the AWS Replication Agent installer on your Amazon Linux 3 system. This error typically occurs when trying to execute a binary that is not compatible with your system architecture or when the file doesn't have the proper execute permissions.

To resolve this issue, you can try the following steps:

  1. Ensure that you have the correct permissions to execute the installer. You can use the following command to make the file executable:

chmod +x ./aws-replication-installer-init.py

  1. Make sure you're running the installer with root privileges or using sudo:

sudo python3 ./aws-replication-installer-init.py

  1. Verify that you're using the correct version of the installer for your system architecture (32-bit or 64-bit). The error message mentions "aws-replication-installer-64bit", so ensure your system is indeed 64-bit.

  2. If the issue persists, try downloading the installer again to ensure you have the latest version and that the file wasn't corrupted during download.

  3. Check if your system meets all the prerequisites for installing the AWS Replication Agent, including having the necessary dependencies installed.

If you continue to experience issues after trying these steps, you may need to contact AWS support for further assistance, as there could be a compatibility issue with Amazon Linux 3 or a problem with the installer itself.
Sources
Agent related - Application Migration Service
Linux - Application Migration Service

answered 2 years ago

  • tried all the above steps. still getting same error

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.