当尝试安装AWS Application Migration服务代理时,我收到以下错误:
错误:安装AWS复制代理失败安装失败。
制作代理驱动时出现意外错误!内核Linux头是否安装正确?
有关安装问题的更多信息,请访问https://docs.aws.amazon.com/mgn/latest/ug/Troubleshooting-Agent-Issues.html#Error-Installation-Failed
以下是日志文件的结果:(我已经尝试了URL中的所有步骤来纠正问题)
任何帮助都非常感谢!
--- Building software
running: ['chmod', '0770', './configure']
retcode: 0
running: ['/bin/sh', 'configure', '--with-srcdir=/lib/modules/3.10.0-1127.19.1.el7.x86_64/build']
retcode: 0
running: 'which zypper'
retcode: 256
running: ['make'] with environment set to {'SRCDIR': '/lib/modules/3.10.0-1127.19.1.el7.x86_64/build', 'PWD': '/tmp/tmpgdy945nw/AgentDriver'}
retcode: 2
--- Make failed. Trying again with CONFIG_CC_STACKPROTECTOR_STRONG disabled
StdOut from driver make: make -C /lib/modules/3.10.0-1127.19.1.el7.x86_64/build M=/tmp/tmpgdy945nw/AgentDriver modules
StdErr from driver make: make: *** /lib/modules/3.10.0-1127.19.1.el7.x86_64/build: No such file or directory. Stop.
make: *** [AgentDriver] Error 2
running: ['make', 'CONFIG_CC_STACKPROTECTOR_REGULAR=1'] with environment set to {'SRCDIR': '/lib/modules/3.10.0-1127.19.1.el7.x86_64/build', 'PWD': '/tmp/tmpgdy945nw/AgentDriver'}
retcode: 2
Unexpected error while making agent driver! Are kernel linux headers installed correctly?
StdOut from driver make second run: make -C /lib/modules/3.10.0-1127.19.1.el7.x86_64/build M=/tmp/tmpgdy945nw/AgentDriver modules
StdErr from driver make second run: make: *** /lib/modules/3.10.0-1127.19.1.el7.x86_64/build: No such file or directory. Stop.
make: *** [AgentDriver] Error 2
Installation returned with code 1
Installation failed due to unspecified error:
Traceback (most recent call last):
File "shared/installer_linux/install_agent.py", line 1202, in main
SystemExit: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "cirrus/installer_shared/installer_main.py", line 1092, in _main
File "cirrus/installer_shared/installer_main.py", line 961, in main
File "cirrus/installer_shared/installer_main.py", line 787, in install
File "cirrus/installer_shared/installer_main.py", line 370, in run_agent_installer
shared.installer_utils.cloud_utils.Error: Failed Installing the AWS Replication Agent [agent_version: 5.0.0.2023.187.1349, installation_id: *******, mac_addresses: *****, _origin_client_type: installer]
aws_replication_agent_installer.log (END)
字符串
1条答案
按热度按时间0md85ypi1#
我有一个类似的问题,它是下降到安全 Boot 。禁用此允许我安装代理并开始复制。此文档显示了MGN源服务器的完整兼容性参考:)https://docs.aws.amazon.com/mgn/latest/ug/Supported-Operating-Systems.html