Can't enable rabbitmq-management plugin on Windows 7 -
i had installed erlang , rabbitmq. after started rabbitmq service. step done without errors. when ran: c:...\rabbitmq-server-3.5.6\sbin>rabbitmq-plugins.bat enable rabbitmq_management got following error:
applying plugin configuration rabbit@aze-pc05478... failed. * not contact node rabbit@aze-pc05478. changes take effect @ broker restart. * options: --online - fail if broker cannot contacted. --offline - not try contact broker.
i copied .erlang.cookie /windows c:. still have same result. missed? thank help.
more infos: when added : rabbitmqctl.bat status. got:
status of node 'rabbit@aze-pc05478' error: unable connect node 'rabbit@aze-pc05478': nodedown diagnostics =========== attempted contact: ['rabbit@aze-pc05478'] rabbit@aze-pc05478: * connected epmd (port 4369) on aze-pc05478 * epmd reports node 'rabbit' running on port 25672 * tcp connection succeeded erlang distribution failed * authentication failed (rejected remote node), please check erlang cookie current node details: - node name: 'rabbitmq-cli-74@aze-pc05478' - home dir: c:\ - cookie hash: 1jjd3t2fufyx/xxype0s4w==
on windows, rabbitmq had issues hostnames being reported in lowercase, in uppercase, , doesn't play erlang distribution.
it fixed in rabbitmq 3.6.0: https://github.com/rabbitmq/rabbitmq-server/commit/1fb451090a2557f35a2800f9d04c476ff1ad6a22
i suppose you're hitting problem, because output of rabbitmqctl shows rabbitmq running:
epmd reports node 'rabbit' running on port 25672
it's rabbitmqctl fails contact it. can check specifying lowercase version of node name on rabbitmqctl command line:
rabbitmqctl -n rabbit@aze-pc05478 status
Comments
Post a Comment