John Doe August 1

RabbitMQ: Change the Host nam e.
WARNING: ALL THE RABBITMQ DATA WILL BE LOST WITH THIS OPERATION .
Please backup your rabbitmq database before doing this (check the documentation about ).

If you change the name of the machine where RabbitMQ server is installed

you will see that the service will no longer be startable, this because RabbitMQ relays on the machine name to create and connect to the node, even if it is local.
To fix this problem, you just have to reinstall the rabbitmq windows service, by using the proper command line utility rabbitmq-service.bat ********************* Service control usage ********************* rabbitmq-service help – Display this help rabbitmq-service install – Install the RabbitMQ service rabbitmq-service remove – Remove the RabbitMQ service The following actions can also be accomplished by using Windows Services Management Console (services.msc): rabbitmq-service start – Start the RabbitMQ service rabbitmq-service stop – Stop the RabbitMQ service rabbitmq-service disable – Disable the RabbitMQ service rabbitmq-service enable – Enable the RabbitMQ service First start a command prompt as administrator and go to the rabbitmq-server-x sbin folder cd %programfiles(x86)%\RabbitMQ Server\rabbitmq_server-3.3.2\sbin.
Uninstall the service rabbitmq-service.bat r emo ve.
Install the service rabbitmq-service.bat install.
This should recreate the service and configure it to start the node with the correct nam e.
If this doesn’t work you can follow the instruction on how to completely reset a rabbitmq server installation .
June 16, 2014August 1, .

2019 RabbitMQ 2 thoughts on “RabbitMQ: Change the Hostname”

John Doe August 1, 2019 at 00:19 Fuck me.
I had to wipe everything rabbitMQ.
I knew removing all the component s would reset it.
I was even playing with the service but never thought of uninstall ing and re-installing.
Luckily this was on a dev machine.
Reply.
August 1.

2019 at 11:53 Good to know

thanks.
Reply.
Leave a Reply Cancel reply.

Developing against Service Bus for Windows 1.1 Software on the hosted build server

(3).
(12).
(4).
(1).
(3).
(1).
(1).
(2) (1).
(1).
(2).
(1).
(1).
(8).
(4).
(5).
(5).
(2).
(10).
(14).
(4).
(15) (9).
Follow on on on Haas franck on on  (1).
(1).
(1).
(1).
(3).
(1).
(1).
(1).
(6).
(2).
(2).
(1).
(1).
(3).
(1).
(2).
(2).
(1).
(3).
(2).
(2).
(1).
(1).
(7).
(3).
(2).
(5).
(3).
(6).
(2).
(1).
(2).
Post to Cancel Send to Email Address Your Name Your Email Address.

Leave a Reply

Your email address will not be published. Required fields are marked *