I just made to the latest OS X maverick update and I got suprised to see that rabbitMQ is no longueur working. I get the following error:
MacBook-Pro-de-Julio:~ julio$ rabbitmq-server
ERROR: epmd error for host MacBook-Pro-de-Julio: address (cannot connect to host/port)
I use the standalone version of rabbitMQ
. I try to re-install it without any success. When I run hostname
command I have the following result:
MacBook-Pro-de-Julio:~ julio$ hostname
MacBook-Pro-de-Julio.local
Do you know how to fix this issue?
EDIT 1:
By turning off the Wifi, I can run with success rabbitMQ. If I turn it on, I can't launch rabbitMQ.
EDIT 2:
Thanks to @old_sound answer, I fixed the issue by editing my /etc/hosts
.
ERROR: epmd error for host HostName: timeout (timed out)
sudo mcedit /etc/hosts
add line
127.0.0.1 HostName
resolve my problems (ubuntu)
Find the host name by running command echo $HOSTNAME
This exception never happened to me but appeared today. This worked for me:
Disconnected from vpn Started rabbitmq successfully Reconnected to vpn
And I was able to connect to rabbitmq successfully, so the host resolved successfully even after reconnecting to vpn.
I was getting this error message on linux VM (centos) after a clean install of Erlang and RabbitMQ. I noticed epmd was trying to use the hostname instead of localhost.
My solution was to add the 4369 port to the firewall exceptions.
Additional details in case it helps others...
After calling "rabbitmqctl start_app" it would wait about 2 minutes, then fail with this error in the log file: "epmd error for {hostname}".
I falsely assumed that rabbitmq would be using localhost or 127.0.0.1 by default, but in my case it was using the hostname, which would resolve to the public static IP address.
I was able to work around this by exposing port 4369 through my firewall.
I assume that I could have changed my config to use localhost and avoid the firewall hole, but I wanted to expose it through the firewall eventually anyways.
I brew installed rabbitmq, and had this problem several weeks later after installing.
You may have a look at
/usr/local/etc/rabbitmq/rabbitmq-env.conf
make sure the value of hostname equals the value of NODENAME
You can set the value of hostname by
sudo scutil --set HostName xxx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With