[rabbitmq-discuss] changing hostnames

Iain Hull iain.hull at workday.com
Fri Jul 20 21:46:53 BST 2012


Hi Liz,

I have just done this recently.  You also have to change the NODENAME
setting in the /etc/rabbitmq/rabbitmq-env file.

Regards,
Iain.

On 20 July 2012 20:53, Elizabeth Liao <eliao at seegrid.com> wrote:

> Hi,
>
> I'm trying to change the hostname of a machine that is running
> rabbitmq-server without logging out but I've been unsuccessful so far.
>
> I've tried the following sequence of commands:
> 1. rabbitmqctl stop
> 2. /etc/init.d/rabbitmq-server stop
> 3. Set hostname in /etc/hosts and /etc/sysconfig/network
> 4. Set hostname using /bin/hostname
> 5. /etc/init.d/rabbitmq-server start  ends up failing
>
> The following are the contents of the startup_log file:
> Activating RabbitMQ plugins ...
>
>
> ********************************************************************************
> *WARNING* Undefined function ssl:ssl_accept/3
> *WARNING* Undefined function unicode:characters_to_binary/3
>
> ********************************************************************************
>
> 4 plugins activated:
> * amqp_client-2.8.2
> * erlando-2.8.2
> * rabbitmq_federation-2.8.2
> * rabbitmq_shovel-2.8.2
>
> ERROR: epmd error for host "OldHostname": nxdomain (non-existing domain)
> ------------------------
> Additionally, env hostname correctly returns the the new hostname.  Is
> there something that needs to be restarted or is the old hostname getting
> cached somewhere?  Thanks
>
> I am running rabbitmq-server-2.8.2 on FC11
>
> Liz
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120720/bfd04a98/attachment.htm>


More information about the rabbitmq-discuss mailing list