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

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

    In my case I did not have a following entry in /etc/hosts:

    127.0.0.1 
    

    where is the hostname of my machine (as given by the hostname command). After adding that line, RabbitMQ started successfully. I did not have any earlier installations of RabbitMQ.

提交回复
热议问题