How to stop rabbitmq server on windows 7
Asked Answered
L

4

8

I have installed RabbitMQ server on my windows 7 machine. I am not able to stop the service by running this command in rabbitmq command line rabbitmq-server.bat -detached and rabbitmq-service.bat stop

I am getting the following errors in console :

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.4\sbin>rabbitmq-serve r.bat -detached ERROR: node with name "rabbit" already running on "MYPC"

C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.5.4\sbin>rabbitmq- servi ce.bat stop C:\Program Files\erl7.0\erts-7.0\bin\erlsrv: Failed to stop service RabbitMQ. Error: The operation completed successfully.

Leuco answered 25/8, 2015 at 15:1 Comment(2)
Try running the commands with the same user that started the broker in the first place, perhaps as administrator. See rabbitmq.com/windows-quirks.htmlZoie
have you try running CMD as administrator, then run "rabbitmq-service.bat stop" ?Septimal
H
4

You have to stop and to restart the Windows services. Services

Hydrolysate answered 18/5, 2020 at 22:59 Comment(0)
H
0

Try following commands

rabbitmq-service.bat stop  
rabbitmq-service.bat install  
rabbitmq-service.bat start  
Honorable answered 17/2, 2017 at 11:54 Comment(1)
Thanks Sir, this is work... just use first line for stop server rabbitMQ...Calutron
I
0

For windows

Open Rabbitmq cmd shell and type the following

rabbitmq-plugins disable rabbitmq_management
Ivonneivor answered 10/12, 2021 at 18:23 Comment(0)
D
0

The other answers appear to all be for when RabbitMQ is installed as a service.

If one is running RabbitMQ via rabbitmq-server.bat -detached, the command for shutting it down is rabbitmqctl.bat shutdown 🙂

Decollate answered 24/10, 2022 at 9:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.