2017-04-21 70 views
0

我正在使用OSX 10.10.5并使用tarball安装RabbitMQ 。RabbitMQ(OSX):错误:主机的epmd错误x1-6-20-0c-c8-19-6b-bd:timeout(超时)

通过脚本运行它:

bash sbin/rabbitmq-server 

第一次运行,但在重新启动后,它给了这个错误:

ERROR: epmd error for host x1-6-20-0c-c8-19-6b-bd: timeout (timed out) 

sbin/rabbitmqctl status返回此:

Status of node '[email protected]' ... 
Error: unable to connect to node '[email protected]': nodedown 

DIAGNOSTICS 
=========== 

attempted to contact: ['[email protected]'] 

[email protected]: 
    * unable to connect to epmd (port 4369) on x1-6-20-0c-c8-19-6b-bd: timeout (timed out) 


current node details: 
- node name: '[email protected]' 
- home dir: /Users/mohit 
- cookie hash: FOxL2w3eJGpNkenIS5ebSw== 

请帮我解决这个,谢谢!

更新:有趣的是,当我从办公室网络切换回我的个人网络时,它有用。可能与端口/网络防火墙有关?

回答

0

添加配置文件:

/etc/rabbitmq/rabbitmq-env.conf 

添加一行如下:

[email protected]