I am using django-celery for my django project. Last day I have changed my computer\'s hostname (I am using Ubuntu 12.04, edited file \'/etc/hostname\'), and after next restart
To solve this problem, I changed my /etc/hostname
file with the new hostname then restarted the machine. After that, I ran rm -rf /var/lib/rabbitmq/mnesia/*
Then restarted the service : sudo service rabbitmq-server restart
At this point, it worked for me. If it still don't work, modify the file /etc/rabbitmq/rabbitmq-env.conf
by adding those informations :
NODENAME=rabbit@YOUR_NEW_HOSTNAME
NODE_IP_ADDRESS=127.0.0.1
NODE_PORT=5672
Then restart the service : sudo service rabbitmq-server restart
Hope it helps.