FS#58510 - [rabbitmq] error reading .erlang.cookie on default install
Attached to Project:
Community Packages
Opened by act28 (act28) - Wednesday, 09 May 2018, 05:09 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 07 July 2018, 17:57 GMT
Opened by act28 (act28) - Wednesday, 09 May 2018, 05:09 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 07 July 2018, 17:57 GMT
|
Details
Description:
On a vanilla install of rabbitmq, using the default (generated) config, systemctl is unable to start rabbitmq. journalctl says: {shutdown,{failed_to_start_child,auth,{"Error when reading /var/lib/rabbitmq/.erlang.cookie: eacces",... .erlang.cookie is present in /var/lib/rabbitmq and is owned by root Solved by deleting the cookie and restarting the service. I believe the service is started as user rabbitmq. Additional info: * rabbitmq 3.7.4-1 Steps to reproduce: 1. install vanilla rabbitmq 2. systemctl start rabbitmq (throws startup error, check `journalctl -xe` for details) 3. rm -f /var/lib/rabbitmq/.erlang.cookie 4. systemctl start rabbitmq (starts successfully) |
This task depends upon
Closed by Levente Polyak (anthraxx)
Saturday, 07 July 2018, 17:57 GMT
Reason for closing: Works for me
Saturday, 07 July 2018, 17:57 GMT
Reason for closing: Works for me
Just tried it in a clean env and it just works.