Created
June 25, 2020 10:31
-
-
Save prabhuvikas/c78332d8a2eecdbb4bcf2a22e8a9a53f to your computer and use it in GitHub Desktop.
Revisions
-
prabhuvikas created this gist
Jun 25, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ For those out there googling, this same erlang cookie error can happen when you are missing the HOME parameter from your environment configuration. For example, on the default ArchLinux installation of rabbitmq. In this case, the service is started with systemctl start rabbitmq and it generates a cookie but the cli tools like rabbitmqctl status will not work out of the box because they do not know the home location. default /etc/rabbitmq/rabbitmq-env.conf NODENAME=rabbit NODE_IP_ADDRESS=0.0.0.0 NODE_PORT=5672 LOG_BASE=/var/log/rabbitmq MNESIA_BASE=/var/lib/rabbitmq/mnesia modified /etc/rabbitmq/rabbitmq-env.conf NODENAME=rabbit NODE_IP_ADDRESS=127.0.0.1 NODE_PORT=5672 HOME=/var/lib/rabbitmq LOG_BASE=/var/log/rabbitmq MNESIA_BASE=/var/lib/rabbitmq/mnesia ref https://bbs.archlinux.org/viewtopic.php?id=191587