AWS 弹性灾难恢复 (DRS) 的 AWS 复制代理问题

0

【以下的问题经过翻译处理】 我在 Linux 上为“AWS Elastic Disaster Recovery”(DRS) 安装“Replication Agent”时遇到问题:

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

我使用了以下命令:

[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

我的环境:

[ec2-user]$ uname -a Linux xxx 4.18.0-348.2.1.el8_5.x86_64 #1 SMP 2021 年 11 月 8 日星期一 13:30:15 EST x86_64 x86_64 x86_64 GNU/Linux

[ec2-user]$ cat /etc/os-release NAME="Redhat Enterprise Linux" VERSION="8.5 (Ootpa)"

有人有类似的问题吗?

1 Antwort
0

【以下的回答经过翻译处理】 我了解到您想安装 AWS Replication Agent 并且收到错误“加载共享库时出错:libz.so.1:无法从共享对象映射段”。您的源服务器是否满足本 指南 中所述的所有最低要求?在您的 Linux 源服务器上确保您有:

  • 根 (/) 目录中至少有 2Gb 的可用磁盘空间,
  • /tmp 目录上至少有 500Mb 的可用磁盘空间,并且,
  • 确保你的 /tmp 目录挂载有读、写和执行权限。

如果您的 /tmp 目录没有执行脚本的权限,您可能会遇到此错误。要删除挂载的 /tmp 目录中的 noexec,请运行以下命令:

sudo mount /tmp -o remount,exec

这是关于如何解决此问题的简短 视频

我希望这能帮到您。

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen