Problem with AWS Replication Agent for AWS Elastic Disaster Recovery (DRS)

0

Hello,

I have problem with "Replication Agent" installation for "AWS Elastic Disaster Recovery" (DRS) on linux:

Error: ./aws-replication-installer-64bit: error while loading shared libraries: libz.so.1: failed to map segment from shared object

I used following commands:

[ec2-user@ip-xxx ~]$ curl https://aws-elastic-disaster-recovery-eu-central-1.s3.eu-central-1.amazonaws.com/latest/linux/aws-replication-installer-init.py -o aws-replication-installer-init.py

[ec2-user@ip-xxx ~]$ sudo python3 aws-replication-installer-init.py The installation of the AWS Replication Agent has started. AWS Region Name: eu-central-1 ./aws-replication-installer-64bit: error while loading shared libraries: libz.so.1: failed to map segment from shared object

My environment:

[ec2-user]$ uname -a Linux xxx 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 8 13:30:15 EST 2021 x86_64 x86_64 x86_64 GNU/Linux

[ec2-user]$ cat /etc/os-release

NAME="Red Hat Enterprise Linux" VERSION="8.5 (Ootpa)"

Does anybody have similar problem?

Thanks,

Adrian Hollay

3개 답변
1
수락된 답변

Hi Adrian,

I understand that you want to install AWS Replication Agent and you are getting an error "error while loading shared libraries: libz.so.1: failed to map segment from shared object". Does your source server meet all the minimum requirements as described in this guide? On your Linux source server make sure that you have:

  • at least 2Gb of free disk space on your root (/) directory,
  • at least 500Mb of free disk space on your /tmp directory and,
  • ensure that your /tmp directory is mounted with read, write and exec permissions.

If your /tmp directory does not have permission to execute scripts, you may encounter this error. To remove noexec on the mounted /tmp directory run the following command:

sudo mount /tmp -o remount,exec

Here is a short video on how solve this issue.

I hope this will help you.

--Cebi

Cebi
답변함 2년 전
profile picture
전문가
검토됨 4달 전
1

Hello Cebi,

I checked everything again and found, that my /tmp directory is mounted wich "noexec"

Problem solved with "sudo mount /tmp -o remount,exec".

The installation of agent went smoothly

Thank you very much

Adrian

답변함 2년 전
0

I am getting this same error on Operating System CentOS v7.9.2009 Product cPanel & WHM v104.0.4 (STANDARD) Is there a solution for this? Thanks.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠