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
You could solve this problem by either deleting the erlang mnesia database associated with rabbitmq or reinstalling rabbitmq.
I got hint for first solution from rabbitmq mailing list. Excerpt from answer, The Erlang Mnesia database is host specific (because it is a distributed DB). The simplest way to get you fixed is to clear out the database dir.
The second method is the easiest way (not recommend though). To uninstall do
dpkg -P rabbitmq-server
You can refer this link if you would like to know more about installing/removing debian packages.