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

前端之家收集整理的这篇文章主要介绍了amazon-web-services – AWS ECS代理无法启动前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

当我尝试运行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
原文链接:https://www.f2er.com/docker/435954.html

猜你在找的Docker相关文章