chef-server-ctl reconfigure fails because of RabbitMQ -
according installation page on opscode install process of chef server 11 should easy. however, in company, both me , colleague of mine have run same problem when tried install chef: running
$ sudo chef-server-ctl reconfigure
would throw error , stop:
"error when reading /var/opt/chef-server/rabbitmq/.erlang.cookie: eacces"
how can fix problem?
check user/group owns erlang.cookie file indicated in error message. file should owned user chef_server,
$ chown chef_server:chef_server erlang.cookie
in directory.