Reputation: 198
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.
Upvotes: 8
Views: 10663
Reputation: 21
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
🙂
Upvotes: 1
Reputation: 61
For windows
Open Rabbitmq cmd shell and type the following
rabbitmq-plugins disable rabbitmq_management
Upvotes: 0
Reputation: 73
Try following commands
rabbitmq-service.bat stop
rabbitmq-service.bat install
rabbitmq-service.bat start
Upvotes: 0