amazon-web-services - 无法启动 Amazon SSM 代理 - 无法启动消息总线

标签 amazon-web-services aws-ssm

注册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/

相关文章:

aws-cloudformation - 如何在CloudFormation中同时定义和使用SSM参数?

amazon-web-services - 如何从 ec2 describe-instances 中提取特定的键值标签

c# - 带有手写复选框的 AWS textract

amazon-web-services - 结合使用 RDS 和 Digital Ocean Droplets

amazon-web-services - 如何在 CloudFormation 模板中为私有(private)托管区域指定默认 VPC?

amazon-web-services - AWS 系统管理器启动 session : An error occurred (TargetNotConnected) when calling the StartSession operation: <instance_id> is not connected

amazon-web-services - 为什么在尝试构建镜像时,packer build 没有显示这样的文件或目录?

aws-ssm - 在哪里可以找到 AWS Systems Manager (SSM) 文档 ARN?

python - 关于不小心将 AWS SSM 参数设置为字符串而不是 SecureString 的问题

python - 无法通过 Ansible 将 Cloud Formation 部署为 Jinja 模板