rabbitmq-server fails to start after hostname has changed for first time

后端 未结 13 2007
予麋鹿
予麋鹿 2021-02-01 12:43

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

13条回答
  •  粉色の甜心
    2021-02-01 13:03

    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.

提交回复
热议问题