ERROR: epmd error for host YOUR_HOSTNAME: timeout (timed out)的解决方案
问题现象
Warning: PID file not written; -detached was passed.
ERROR: epmd error for host prd-can3-0-mq01: timeout (timed out)
问题解决
经过一番检查,其实RabbitMQ报这个错的原因是无法在/etc/hosts中正确识别主机名,因此只需修改该文件即可
127.0.0.1 prd-can3-0-mq01 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
[root@prd-can3-0-mq01 src]# /app/rabbitmq/sbin/rabbitmq-server -detached
Warning: PID file not written; -detached was passed.
[root@prd-can3-0-mq01 src]# ss -tnl #启动成功
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::5672 :::*
LISTEN 0 128 *:25672 *:*
LISTEN 0 128 :::4369 :::*
LISTEN 0 128 *:4369 *:*
LISTEN 0 128 :::22 :::*
LISTEN 0 128 *:22 *:*
LISTEN 0 128 *:15672 *:*
LISTEN 0 100 ::1:25 :::*
LISTEN 0 100 127.0.0.1:25 *:*
人生有几个十年呢?点点滴滴,用文字记录
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 按钮权限的设计及实现