2017-04-21 37 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]