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                           *:*     
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值