加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

amazon-web-services – AWS ECS代理无法启动

发布时间:2020-12-16 03:41:32 所属栏目:安全 来源:网络整理
导读:当我尝试运行ECS代理时,我在ecs-init.log *中收到以下错误: [INFO] Agent exited with code 5[ERROR] agent exited with terminal exit code 在ecs-agent.log *文件中我得到了这个: [CRITICAL] Data mismatch; saved cluster 'cluster1' does not match co

当我尝试运行ECS代理时,我在ecs-init.log *中收到以下错误:

[INFO] Agent exited with code 5
[ERROR] agent exited with terminal exit code

在ecs-agent.log *文件中我得到了这个:

[CRITICAL] Data mismatch; saved cluster 'cluster1' does not match configured cluster 'cluster2'. Perhaps you want to delete the configured checkpoint file?

知道检查点文件在哪里?

最佳答案
我自己找到了答案.检查点文件位于以下目录中:/var/lib/ecs/data/ecs_agent_data.json.
只需删除该json文件并再次启动运行start ecs的ECS代理.
感谢这个论坛帖子,间接引导我得到答案:https://forums.aws.amazon.com/thread.jspa?messageID=625643

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读