windows - RabbitMQ node authentification failed after changing cookie file -
i have multiple rabbitmq nodes running on different machines. after installing each node failed specify common cookie each of them use had go , manually change file .erlang.cookie . issue after doing conflicting error messages. if rabbitmqctl status following error:
diagnostics
attempted contact: ['rabbit@nc-mso-test01']
rabbit@nc-mso-test01: * connected epmd (port 4369) on nc-mso-test01 * 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-45@nc-mso-test01' - home dir: c:\users\jol - cookie hash: 9/hx6l+wlqv3nkmsdfqbog==
whatever script call, same error. tried restarting service, removing , installing through rabbitmq-service. error persists. can gather other posts, reason might node , erlang broker running on separate users , each of them have different version of cookie, 1 stuck old one.
how can make server , node restart, both of them use new cookie file?
i solved issue. missed fact rabbitmq setup has 2 cookie files, 1 in c:\windows erlang component, , 1 in c:\users\%user%. understand, if erlan vm started on it's own application user , rabbitmq node started on different user, have been case, 2 cookie files different , had sync before syncing cluster cookies.
Comments
Post a Comment