“node with name ”rabbit“ already running”, but also “unable to connect to node 'rabbit'”

后端 未结 9 1326
[愿得一人]
[愿得一人] 2020-12-23 09:26

Rabbitmq server does not start, saying it\'s already running:

$: rabbitmq-server
Activating RabbitMQ plugins ...
0 plugins activated:

node wit         


        
相关标签:
9条回答
  • 2020-12-23 09:45

    I used rabbitmqctl stop and then restarted using rabbitmq-server as root.

    0 讨论(0)
  • 2020-12-23 09:45

    Using admin console, in Win 2012R2 ver 3.5.5 rabbit, got it to work using the remove and install then rabbitmq-server restart then ctr-c to terminate the job, then I was able to use the windows service console and start the rabbitMq service.

    0 讨论(0)
  • 2020-12-23 09:47

    i was having the same problem then I realized I was not issuing the right command.

    ./rabbitmqctl stop 
    

    this works everytime, although it does take down erlang runtime too. also mind where your config file.

    0 讨论(0)
  • 2020-12-23 09:47

    $CD RabbitMQ Server\rabbitmq_server-3.7.8\sbin

    rabbitmq-service remove

    rabbitmq-service install

    Go : windows Services Find : RabbitMQ and Start it

    after this Enable plugin :

    rabbitmq-plugins enable rabbitmq_management

    0 讨论(0)
  • 2020-12-23 09:48

    I was having this same error @ Win 7, but the solutions above did not worked for me, what did solved was to remove and reinstall the service. Using a console with admin rights:

    rabbitmq-service remove

    rabbitmq-service install

    I hope this might help someone else too

    0 讨论(0)
  • 2020-12-23 09:52

    This issue can be caused by two issues:

    1. Rabbit is already running on the server. If that is the case, use the answer you found of killing the currently running process (ps aux | grep rabbit | grep -v grep)
    2. You have changed the IP address of your machine but not changed the /etc/hosts file to reflect the new IP address of the machine.

    The more common of the issues is the first, but the harder to find is the second (especially if you have rabbit running on the other machine. If rabbit is installed on the other machine it will look at the old IP address and would see another machine already running rabbitmq and give you the same error. This has caused me grief in the past.

    0 讨论(0)
提交回复
热议问题