在Amazon Linux2. Installing manually Added proxy details上试用亚马逊网络服务检查器,因为我们使用的是代理服务器
安装成功,但日志中出现以下错误(sudo systemctl status awsagent.service):
Publishers/ArsenalPublisher.cpp:1070:RegisterEC2Agent operation not permitted failure : Account not registered in this AWS region. AccountID : <redacted>
Publishers/ArsenalPublisher.cpp:649:Agent failed to register during config retrieval: Operation not permitted: Account not registered in this AWS region. AccountID : <redacted>
Service/MainInspectorThread.cpp:80:Config retrieval failed : -96这与以下位置的状态相匹配:
sudo /opt/aws/awsagent/bin/awsagent status | less
Last registration attempt date : Thu 2018-10-11 23:15:01 UTC
Registration failure reason : Operation not permitted: Account not registered in this AWS region. AccountID : <redacted>
Config retrieval failure reason : Agent failed to register during config retrieval并确认上述文件中的区域与该区域匹配。
发布于 2018-10-12 07:42:32
事实证明,AWS Inspector需要一点时间来注册。
在写下问题,搜索互联网,查看服务的常见问题时,代理自己解决了问题。
sudo /opt/aws/awsagent/bin/awsagent status | less现在显示:
Last registration attempt date : Thu 2018-10-11 23:35:44 UTC
Last registration date : Thu 2018-10-11 23:35:45 UTC
Last config retrieval attempt date : Thu 2018-10-11 23:40:21 UTC
Last config retrieval date : Thu 2018-10-11 23:40:21 UTChttps://stackoverflow.com/questions/52770294
复制相似问题