I put the rabbitmq-plugins enable rabbitmq_management command into the terminal. In response, I get:
Error: Failed to initialize erlang distribution: {{shutdown, {failed_to_start_child, auth, {"Error when reading ./.erlang.cookie: eacces", [{auth,init_cookie,0, [{file,"auth.erl"}, {line,286}]}, {auth,init,1, [{file,"auth.erl"}, {line,140}]}, {gen_server,init_it,6, [{file, "gen_server.erl"}, {line,328}]}, {proc_lib, init_p_do_apply,3, [{file,"proc_lib.erl"}, {line,240}]}]}}}, {child,undefined, net_sup_dynamic, {erl_distribution, start_link, [['rabbitmq-cli-48', shortnames]]}, permanent,1000,supervisor, [erl_distribution]}}. When you try to execute the rabbitmqctl status even more terrible json creeps out.
What could be the reason ?