I have RabbitMQ installed on a CentOS 5.x server which I use for message passing between my programs. I\'ve installed rabbitmqadmin
following the directions on
After much digging and frustration, I found my problem... I'm posting the solution in case anyone else has a similar experience
Previously, I found that if you setup RabbitMQ on a linux server then change the hostname that it can break some of the rabbit configuration.
The awesome part about this problem is that someone changed the name of the server from all capital letters to lowercase...
I've solve this one of two ways:
Solution 1:
Revert the host name back to the previous name. So that rabbitmq references with the appended server name work again.
Solution 2:
If you want to keep the server name change, then you can create a rabbitmq-env.conf
files in /etc/rabbitmq
like:
NODENAME=rabbit@OLDHOSTNAME
If you aren't sure what your previous name was, you can reference it by doing an ls
in your /var/lib/rabbitmq/mnesia/
folder. You'll then see a folder that matches the nodename you need to specify.
Reference: https://www.rabbitmq.com/man/rabbitmq-env.conf.5.man.html
UPDATE:
Host name is CaSE SeNSiTIve... had someone change a hostname on me and the only difference was the case... so took a while to notice...