HOME
to /var/lib/rabbitmq
so that the `rabbitmqctl`
and broker will share the same cookie value.
node : rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local.
home dir : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/rabbitmq.conf
cookie hash : ilFMuK/7ghwxZmBkF0VDLg==
log(s) : /var/log/rabbitmq/rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local..log
: /var/log/rabbitmq/rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local._upgrade.log
database dir : /var/lib/rabbitmq/mnesia/rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local.
DIAGNOSTICS
===========
attempted to contact: ['rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local.']
rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local.:
* connected to epmd (port 4369) on rabbitmq-0.rabbitmq.default.svc.cluster.local.
* epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
* TCP connection succeeded but Erlang distribution failed
* Authentication failed (rejected by the remote node), please check the Erlang cookie
Current node details:
* node name: 'rabbit...@rabbitmq-0.rabbitmq.default.svc.cluster.local.'
* effective user's home directory: /var/lib/rabbitmq
* Erlang cookie hash: +MX//PtiDHrEvoWfQDsuuQ==
According to the author's advice, I tried to run rabbitmq-server and rabbitmqctl under the same user `rabbitmq` and on the same container, the problem didn't go away .@Michael Klishin
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
echo -n '7818a0c141d65621ba2006ea52127617' | md5sum# 8831cb23bc57ffc759517e3f5c1d9a5e -
echo '7818a0c141d65621ba2006ea52127617' | md5sum # 2e544297faec097fffc487e034691f65 -
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to rabbitm...@googlegroups.com.
--MKStaff Software Engineer, Pivotal/RabbitMQ
--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
--MKStaff Software Engineer, Pivotal/RabbitMQ
I've set docker container's environment variablethe erlang cookie file's owner has been set to rabbitmq:rabbitmq and its permissions is 400.HOME
to/var/lib/rabbitmq
so that the `rabbitmqctl`
and broker will share the same cookie value.
After rabbitmq-server started, the erlang cookie value in file /var/lib/rabbitmq/.erlang.cookie was used.broker's erlang cookie hash was ilFMuK/7ghwxZmBkF0VDLg== according to its log file.
node : rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local.
home dir : /var/lib/rabbitmq
config file(s) : /etc/rabbitmq/rabbitmq.conf
cookie hash : ilFMuK/7ghwxZmBkF0VDLg==
log(s) : /var/log/rabbitmq/rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local..log
: /var/log/rabbitmq/rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local._upgrade.log
database dir : /var/lib/rabbitmq/mnesia/rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local.
when I executed command `rabbitmqctl -l status`, it said that the cli tool used a different erlang cookie and rejected by remote node ...
DIAGNOSTICS
===========
attempted to contact: ['rab...@rabbitmq-0.rabbitmq.default.svc.cluster.local.']
rabbit@rabbitmq-0.rabbitmq.default.svc.cluster.local.:
* connected to epmd (port 4369) on rabbitmq-0.rabbitmq.default.svc.cluster.local.
* epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
* TCP connection succeeded but Erlang distribution failed
* Authentication failed (rejected by the remote node), please check the Erlang cookie
Current node details:
* node name: 'rabbitmqcli18@rabbitmq-0.rabbitmq.default.svc.cluster.local.'
* effective user's home directory: /var/lib/rabbitmq
* Erlang cookie hash: +MX//PtiDHrEvoWfQDsuuQ==