暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

rabbitmq-server: ERROR: epmd error for host xxx: timeout

运维实战侠 2022-07-14
1503

近期迁移一台服务器,更改了IP地址以后,早起发现,该服务器上的rabbitmq没有启动,逐步排查,遂有了如下的记录
1,检查rabbitmq-server并没有启动。

[root@shizhanxia.com ~]#systemctl status rabbitmq-server

2,检查rabbitmq-server服务的错误日志。

[root@shizhanxia.com ~]#cat var/log/message
Starting RabbitMQ broker...
May 26 10:54:08 shizhanxia.com systemd: Cannot find unit for notify message of PID 104711.
May 26 10:54:08 shizhanxia.com systemd: Cannot find unit for notify message of PID 104712.
May 26 10:54:08 shizhanxia.com systemd: rabbitmq-server.service: Got notification message from PID 104713, but reception only permitted for main PID 104698
May 26 10:54:38 shizhanxia.com rabbitmq-server: ERROR: epmd error for host shizhanxia.com: timeout (timed out)
May 26 10:54:38 shizhanxia.com systemd: rabbitmq-server.service: main process exited, code=exited, status=1/FAILURE
May 26 10:54:38 shizhanxia.com rabbitmqctl: Stopping and halting node 'rabbit@shizhanxia.com' ...
May 26 10:54:45 shizhanxia.com rabbitmqctl: Error: unable to connect to node 'rabbit@shizhanxia.com': nodedown
May 26 10:55:15 shizhanxia.com rabbitmqctl: DIAGNOSTICS
May 26 10:55:15 shizhanxia.com rabbitmqctl: ===========
May 26 10:55:15 shizhanxia.com rabbitmqctl: attempted to contact: ['rabbit@shizhanxia.com']
May 26 10:55:15 shizhanxia.com rabbitmqctl: rabbit@shizhanxia.com:
May 26 10:55:15 shizhanxia.com rabbitmqctl: * unable to connect to epmd (port 4369) on shizhanxia.com: timeout (timed out)
May 26 10:55:15 shizhanxia.com rabbitmqctl: current node details:
May 26 10:55:15 shizhanxia.com rabbitmqctl: - node name: 'rabbitmqctl106855@shizhanxia.com'
May 26 10:55:15 shizhanxia.com rabbitmqctl: - home dir: var/lib/rabbitmq
May 26 10:55:15 shizhanxia.com rabbitmqctl: - cookie hash: hfODSw2qJGUMCRm9hy4lDw==
May 26 10:55:15 shizhanxia.com systemd: rabbitmq-server.service: control process exited, code=exited status=2
May 26 10:55:15 shizhanxia.com systemd: Failed to start RabbitMQ broker.
May 26 10:55:15 shizhanxia.com systemd: Unit rabbitmq-server.service entered failed state.
May 26 10:55:15 shizhanxia.com systemd: rabbitmq-server.service failed.
May 26 10:55:48 shizhanxia.com auditd[679]: Audit daemon rotating log files

解决方案
rabbitmq-server: ERROR: epmd error for host shizhanxia.com: timeout (timed out),因无法连接到本机,需要修改/etc/hosts文件。


文章转载自运维实战侠,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论