rabbitmq启动异常

堆栈追踪关键字error
wait4(97802, ERROR: epmd error for host node02: address (cannot connect to host/port)

查看/etc/hosts文件,果然主机名和ip解析异常。
mqserver会连接主机名:4369
Epmd 是 Erlang Port Mapper Daemon 的缩写,在 Erlang 集群中相当于 dns 的作用,绑定在4369端口上。
image

https://developer.aliyun.com/article/42298#:~:text=epmd 代表 Erlang 端口映射守护进程(Erlang Port Mapper Daemon)。,每启动一个节点,都会检查本地机器上是否运行着 epmd ,如果没有,节点就会自行启动 epmd 。 epmd 会追踪在本地机器上运行的每个节点,并记录分配给它们的端口。
https://www.cnblogs.com/me-sa/p/erlang-epmd.html
https://www.dba.cn/book/erlang/BingFaBianCheng/ERLANGFenBuShiBianCheng.html
https://blog.csdn.net/yaomingyang/article/details/103583024
https://blog.csdn.net/qq_53795917/article/details/134341650

posted @ 2025-01-08 11:00  今夕何兮  阅读(53)  评论(0)    收藏  举报