How to restart RabbitMQ service

Shax picture Shax · May 24, 2012 · Viewed 78.4k times · Source

I am getting a strange error while restarting the rabbitmq service and because of that I am unable to restart RabbitMQ service. I got this message from EventViewer and have tried to find solution by googling but no luck..please suggest.

RabbitMQ: Erlang machine voluntarily stopped. The service is not restarted as OnFail is set to ignore.

Thanks

Answer

Jeff picture Jeff · May 24, 2012

On a modern Linux you can restart it like any other service

sudo service rabbitmq-server restart

There is a specific control interface as well

sudo rabbitmqctl "report"
sudo rabbitmqctl "reset"