I've got a fresh installation of rabbitmq-server
on a Lucid EC2 instance. The hostname is set correctly, but rabbitmq won't pick up the hostname, and insists on calling itself localhost
. Any idea how to convince it otherwise?
$ cat /etc/hostname
mifune
$ hostname
mifune
$ cat /etc/hosts
127.0.0.1 localhost mifune
...
$ sudo rabbitmqctl status
Status of node rabbit@localhost ...
[{running_applications,[{rabbit,"RabbitMQ","1.7.2"},
{mnesia,"MNESIA CXC 138 12","4.4.12"},
{os_mon,"CPO CXC 138 46","2.2.4"},
{sasl,"SASL CXC 138 11","2.1.8"},
{stdlib,"ERTS CXC 138 10","1.16.4"},
{kernel,"ERTS CXC 138 10","2.13.4"}]},
{nodes,[rabbit@localhost]},
{running_nodes,[rabbit@localhost]}]
...done.