注册Amazon SSM Agent时,在SSM Managed Instances控制台注册成功,但连接显示“Connection Lost”。
当我尝试手动启动服务时,出现以下错误:
Error occurred fetching the seelog config file path: open /etc/amazon/ssm/seelog.xml: no such file or directory
Initializing new seelog logger
New Seelog Logger Creation Complete
2020-12-09 10:20:01 ERROR error occurred when starting amazon-ssm-agent: failed to start message bus, failed to start health channel: failed to listen on the channel: ipc:///var/lib/amazon/ssm/ipc/health, address in use
我该如何解决这个问题?我尝试重启服务几次,但没有成功。
最佳答案
我能够通过停止代理并清除/var/lib/amazon/ssm/ipc 目录来解决这个问题
service amazon-ssm-agent stop
rm -rf /var/lib/amazon/ssm/ipc
service amazon-ssm-agent start
关于amazon-web-services - 无法启动 Amazon SSM 代理 - 无法启动消息总线,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65218749/