• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
山高我为峰
博客园    首页    新随笔    联系   管理    订阅  订阅
Authentication failed (rejected by the remote node), please check the Erlang

官网提供的解决方案

Synchronise Erlang Cookies (when running a manually installedWindows Service) Erlang Security Cookies used by the service account 
and the userrunning rabbitmqctl.bat must besynchronised for rabbitmqctl.bat tofunction. To ensure Erlang cookie files contain the same string,
copy the.erlang.cookie file from the Windowsdirectory (normallyC:\WINDOWS\.erlang.cookie) to replace the user.erlang.cookie.
The user cookie will be in the user's home directory (%HOMEDRIVE%%HOMEPATH%),e.g.C:\Documents and Settings\%USERNAME%\.erlang.cookie or C:\Users\%USERNAME%\.erlang.cookie (Windows Vista andlater).

以上英文意思是:使C:\Windows\.erlang.cookie 和C:\User\lujie\.erlang.cookie两个文件内容一致

但是我的C:\Windows下没有这个文件

用搜索工具对电脑文件系统进行检索,找到C:\Windows\System32\config\systemprofile下有个.erlang.cookie文件,

内容与C:\User\lujie\.erlang.cookie不一样,后来修改其中一个文件的内容,使两个文件内容一样。 
再次执行命令rabbitmqctl status,成功 

 

 

 

posted on 2018-03-23 11:49  山高我为峰  阅读(1344)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3