Trying to start my rabbitmq server, but I get this error. I've followed all of the instructions on how to install it. The rabbitmq-server file lives inside /usr/local/sbin. So I change directory to sbin, and write rabbitmq-server in my terminal but it shows the error -bash: rabbitmq-server: command not found. I've already added the following line: export PATH=/usr/local/sbin:$PATH at the bottom of my bash_profile, as per instructions. Any idea why it isn't working?
Please try this,
Navigate to the path 'RabbitMQ Server \rabbitmq_server-VERSION\sbin' then follow below steps,
Now You should be able to see RabbitMQ management plugin, it means all services running fine. You can try login with guest as username and password, which is the default one.
I would prefer this command:
brew services run rabbitmq
I feel it more similar to systemd.
brew services command:
Integrates Homebrew formulae with macOS' launchctl manager.
[sudo] brew services list
List all running services for the current user (or root)
[sudo] brew services run formula|--all
Run the service formula without starting at login (or boot).
[sudo] brew services start formula|--all
Start the service formula immediately and register it to launch at login (or boot).
[sudo] brew services stop formula|--all
Stop the service formula immediately and unregister it from launching at login (or boot).
[sudo] brew services restart formula|--all
Stop (if necessary) and start the service immediately and register it to launch at login (or boot).
[sudo] brew services cleanup
Remove all unused services.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With