首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >AWS Inspector Agent不正常:帐户未在此AWS区域中注册

AWS Inspector Agent不正常:帐户未在此AWS区域中注册
EN

Stack Overflow用户
提问于 2018-10-12 07:42:32
回答 1查看 2.4K关注 0票数 1

在Amazon Linux2. Installing manually Added proxy details上试用亚马逊网络服务检查器,因为我们使用的是代理服务器

安装成功,但日志中出现以下错误(sudo systemctl status awsagent.service):

代码语言:javascript
复制
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

这与以下位置的状态相匹配:

代码语言:javascript
复制
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

并确认上述文件中的区域与该区域匹配。

EN

回答 1

Stack Overflow用户

发布于 2018-10-12 07:42:32

事实证明,AWS Inspector需要一点时间来注册。

在写下问题,搜索互联网,查看服务的常见问题时,代理自己解决了问题。

代码语言:javascript
复制
sudo /opt/aws/awsagent/bin/awsagent status | less

现在显示:

代码语言:javascript
复制
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 UTC
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52770294

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档