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

后端 未结 13 2001
予麋鹿
予麋鹿 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:09

    Remove RabbitMQ database: rm -rf /var/lib/rabbitmq/*

    This action solves the problem. I believe somewhere in dumps stored a record with correspondence of nodes host names and ips. This fact causes contradiction if some hosts changed unexpectedly.

提交回复
热议问题