Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I cannot start rabbitmq on my mac

I have brew installed rabbitmq on my mac and have tried the following

rabbitmq-server start

sbin/service rabbitmq-server start

and neither work.How do I start it?

like image 591
losee Avatar asked Sep 08 '16 18:09

losee


People also ask

How do I install RabbitMQ?

I will use homebrew for installing rabbitMQ. If you don't have homebrew installed yet, it's recommended to install it. It will take some time for installing rabbitmq on your machine. There are two ways to run rabbitMQ. To run in the command line, open the terminal and hit ~ then enter, that will bring you the root directory.

Does RabbitMQ support AMQP?

It supports AMQP (Advanced Message Queuing Protocol), STOMP (Streaming Text Oriented Messaging Protocol), MQTT (Message Queuing Telemetry Transport) and other protocols. Alright, let's install RabbitMQ on Mac using Homebrew.

How to check the status of RabbitMQ server?

You can check the server status and other important details with the below command: Status of node rabbit@localhost ... You can also access the RabbitMQ Management Console and via UI From UI itself you can create Queue and exchange.

Where are the RabbitMQ server and CLI tools located?

On my Mac the RabbitMQ server and CLI tools are present inside the /usr/local/Cellar/rabbitmq/3.7.11/sbin/ directory.


4 Answers

You should be able to run /usr/local/sbin/rabbitmq-server or use brew services start rabbitmq

like image 130
Majid Avatar answered Oct 08 '22 22:10

Majid


Here are a few commands to get you started. Just open your cli and type from anywhere

brew services start rabbitmq     //start 
brew services stop  rabbitmq     //stop

brew services restart rabbitmq   //restart 

You can also list all the running services by

brew services list

Alternative way -

Go to the directory where rabbitMQ is installed and run following commands

cd rabbitmq_server-3.5.3/      //check you's version 
sbin/rabbitmq-server           //start server 

sbin/rabbitmqctl shutdown      //stop server 
like image 20
roottraveller Avatar answered Oct 08 '22 21:10

roottraveller


UPDATED

USL: http://localhost:15672/

Login try this

username: guest
password: guest
like image 39
ekpono Avatar answered Oct 08 '22 22:10

ekpono


Try with brew services start rabbitmq in terminal after that go to

localhost:15672 enter username and password which is

username-guest 
password-guest 
like image 33
Rahul Jain Avatar answered Oct 08 '22 21:10

Rahul Jain