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
Remove the old installation of RabbitMQ to fix this problem. Here are steps to reinstall RabbitMQ. These commands are run as the root user:
Stop RabbitMQ: rabbitmqctl stop
Change /etc/hosts
Change /etc/hostname
Uninstall old RabbitMQ: dpkg -P rabbitmq-server
Remove RabbitMQ’s database: rm -rf /var/lib/rabbitmq
Find erlang’s process that is running rabbit: ps ax | grep rabbit
Kill the listed process
Reinstall RabbitMQ: apt-get install rabbitmq-server
I wrote about these steps on my blog.
REVISION
I moved my blog to a new website.