I have installed rabbitmq on ubuntu
and trying to start it using rabbitmq-server start
, however, I\'m getting this error:
Activating Ra
rabbitmq-server
refuses to start if the hostname -s
value has changed.
The solution suggested here is only for test/development environments.
I had to delete the database to fix it locally.
i.e empty folder /var/lib/rabbitmq
(ubuntu) or /usr/local/var/lib/rabbitmq/
(mac)
If the standard stop and start are not working, list the rabbitmq processes that are running using
ps aux | grep rabbitmq
Kill the beam.smp process using
kill -9 {process id}
and start the rabbitmq-server again.