RabbitMQ
Imal Perera  

RabbitMQ Server Fails in Mac OS High high sierra

Spread the love

Recently I started working back on a spring project which uses RabbitMQ, So I quickly executed the command to run my already existing RabbitMQ installation but unfortunately, it failed. It was really strange because I remember once I had this problem because I have not installed OpenSSL so I quickly tested whether and Strange! I already have it. 

It seems like the RabbitMQ is corrupted should Install again, I told to my self..  then I downloaded the binary distribution of the RabbitMQ and ran the command… Really Strange I’m getting the same issue… So it is confirmed that this is an OS related issue.  I remember I updated my Mac to High Sierra recently, So surly High Sierra might cause the issue. 

This was the Error

Starting broker...
completed with 10 plugins.
Assertion failed: (ctx), function digest_update, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/boringssl/boringssl-109.20.5/apple/crypto/digests.c, line 49.
/usr/local/sbin/rabbitmq-server: line 236: 2681 Abort trap: 6 start_rabbitmq_server "$@"

Here is how you could fix it

I spent 1hour hope you will spend less than that 😀

1. You Need to Reinstall HomeBrew

 

ruby -e "$(curl -fsSL "https://raw.githubusercontent.com/Homebrew/install/master/install") 

2. Update HomeBrew

This might be already updated

  

brew update 

3 Install RabbitMQ

  

brew reinstall rabbitmq 

4. That is it Just Start RabbitMQ

 
sudo /usr/local/sbin/rabbitmq-server start 

and you are done, comment below if you found a different method or if this method did not work for you

Leave A Comment