I installed rabbitmq on kali linux. I started the service
sudo systemctl start rabbitmq-server
Then I tried to enable the management plugin
rabbitmq-plugins enable rabbitmq_management
But I am getting this error:
Error when reading ./.erlang.cookie: eacces
Looks like I am not not authorized to read from the cookie. How can I resolve this?
I tried this
sudo chmod 600 ./.erlang.cookie
and
sudo chmod 600 /var/lib/rabbitmq/.erlang.cookie
but did not help