Skip to content

Instantly share code, notes, and snippets.

@jch
Created April 28, 2012 23:48
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jch/2522701 to your computer and use it in GitHub Desktop.
Save jch/2522701 to your computer and use it in GitHub Desktop.
Troubleshooting RabbitMQ installation on OSX via homebrew

Troubleshooting RabbitMQ installation on OSX via homebrew

brew update
brew install rabbitmq

To see if rabbitmq is running after following the installation instructions:

launchctl list | grep rabbit
> 48303	-	homebrew.mxcl.rabbitmq

You should see a process id in the first column. If not, it's because rabbitmq-server is not running.

Try to manually start rabbitmq-server

rabbitmq-server

If you see an error message after a minute or so like:

ERROR: epmd error for host "yourhostname": timeout (timed out establishing tcp connection)

Then you need to update your /etc/hosts file to add your hostname to the list of localhost:

127.0.0.1    yourhostname
@adurairaj
Copy link

thx it worked. But I don't understand, how it was working all these days.

@sijo0703
Copy link

awesome! it worked! Thanks!

@kamaljit-sharma
Copy link

thank you very much! it worked

@trungtran1512
Copy link

I have some issues when try to manually start rabbitmq-server. Can you help me? Please 🙏

2023-07-11 10:54:05.856778+07:00 [error] <0.234.0> Feature flags: `stream_queue`: required feature flag not enabled! It must be enabled before upgrading RabbitMQ.
2023-07-11 10:54:05.864045+07:00 [error] <0.234.0> Failed to initialize feature flags registry: {disabled_required_feature_flag,
2023-07-11 10:54:05.864045+07:00 [error] <0.234.0>                                               stream_queue}
2023-07-11 10:54:05.870830+07:00 [error] <0.234.0> 
2023-07-11 10:54:05.870830+07:00 [error] <0.234.0> BOOT FAILED
2023-07-11 10:54:05.870830+07:00 [error] <0.234.0> ===========
2023-07-11 10:54:05.870830+07:00 [error] <0.234.0> Error during startup: {error,failed_to_initialize_feature_flags_registry}
2023-07-11 10:54:05.870830+07:00 [error] <0.234.0> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment