I cannot start rabbitmq on my mac

19,063

Solution 1

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

Solution 2

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 

Solution 3

UPDATED

USL: http://localhost:15672/

Login try this

username: guest
password: guest

Solution 4

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

localhost:15672 enter username and password which is

username-guest 
password-guest 
Share:
19,063
losee
Author by

losee

Updated on June 04, 2022

Comments

  • losee
    losee about 2 years

    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?

  • losee
    losee almost 8 years
    That worked. I saw this no where in the docs. How'd you know this?
  • Majid
    Majid almost 8 years
    @losee, You can use brew services start[stop/restart/list] for run RabbitMQ service in the background (or mysql, redis...). Homebrew installs packages in /usr/local/Cellar/ and then symlinks their files into /usr/local/