Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ on Docker: Permission denied when chown-ing erlang cookie

I use Kitematic to manage my containers. I run rabbitmq on docker and it's running. The problem is when I configure its volume. Whenever I set local folder for its volume (in Kitematic) it will stop, start, and print the following error:

chown: changing ownership of '/var/lib/rabbitmq/.erlang.cookie': Permission denied

How do I solve this problem?

like image 680
shankshera Avatar asked Oct 26 '25 10:10

shankshera


1 Answers

this should fix it chmod 600 /path/to/your/local/volume/.erlang.cookie

Found the answer in https://serverfault.com/questions/406712/rabbitmq-erlang-cookie.

I had the same issue and this fix it. The error message being returned is missing the part about must be accessible by owner only

like image 96
skeenzdev Avatar answered Oct 28 '25 23:10

skeenzdev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!