ubuntu rabbitmq - Error: unable to connect to node 'rabbit@somename: nodedown

django, rabbitmq

Solution

I had installed rabbit as a service apparently and the

sudo rabbitmqctl force_reset 

command was not working.

sudo service rabbitmq-server restart 

Did exactly what I need.

P.S. I made sure I was the root user to do the previous command

sudo su

Problem

I am using celery for django which needs rabbitmq. Some 4 or 5 months back, it used to work well. I again tried using it for a new project and got below error for rabbitmq while listing queues. ``` Listing queues ... Error: unable to connect to node 'rabbit@somename': nodedown diagnostics: - nodes and their ports on 'somename': [{rabbitmqctl23014,44910}] - current node: 'rabbitmqctl23014@somename' - current node home dir: /var/lib/rabbitmq - current node cookie hash: XfMxei3DuB8GOZUm1vdUsg== ``` Whats the solution? If there is no good solution, can I uninstall and reinstall rabbitmq ?

Original source