在Windows 7企业版机器上,我重新安装了Erlang 17.4和RabbitMQ 3.4.3 x64.安装成功且平安无事.
我还没有尝试创建我的第一个队列或交换,但我已经看到了麻烦.这个问题类似于另一个SO帖子,但其他帖子似乎涉及群集,我没有.此外,其他海报可以通过重新启动RabbitMQ服务来规避他的问题; 这种方法对我不起作用.
我的"nodedown"问题在RabbitMQ命令提示符下很明显:
C:\ Program Files(x86)\ RabbitMQ Server\rabbitmq_server-3.4.3\sbin> rabbitmqctl status节点兔子的状态@ TPAJ05421843 ...
错误:无法连接到节点兔子@ TPAJ05421843:nodedown诊断
试图联系:[rabbit @ TPAJ05421843]
rabbit @ TPAJ05421843:
*连接到TPAJ05421843上的epmd(端口4369)
*epmd报告:节点'rabbit'未
在TPAJ05421843 上的所有其他节点上运行:['RabbitMQ']
*建议:启动节点当前节点详细信息:
- 节点名称:'rabbitmqctl-19884 @ TPAJ05421843'
- 主目录:H:\
- cookie哈希:PD4QQCYrf0TME9vIko3Xuw ==
基于以上所述,我选择检查明确命名为"RabbitMQ"的节点的状态.我明白了:
C:\ Program Files(x86)\ RabbitMQ Server\rabbitmq_server-3.4.3\sbin> rabbitmqctl -n RabbitMQ status
节点'RabbitMQ @ TPAJ05421843'的状态...
错误:无法连接到节点'RabbitMQ @ TPAJ05421843':nodedown诊断
试图联系:['RabbitMQ @ TPAJ05421843']
RabbitMQ @ TPAJ05421843:
*连接到TPAJ05421843上的epmd(端口4369)
*epmd报告节点'RabbitMQ'在端口59301上运行
*TCP连接成功但Erlang分发失败
*建议:主机名不匹配?
*建议:cookie设置正确吗?当前节点详细信息:
- 节点名称:'rabbitmqctl-23076 @ TPAJ05421843'
- 主目录:H:\
- cookie哈希:PD4QQCYrf0TME9vIko3Xuw …
我是RabbitMQ的初学者,我在启用管理插件方面遇到了一些问题.rabbitmq服务器启动并运行,但是当我尝试启用插件时,我在Windows命令提示符下得到了这个:
C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.1.5\sbin>rabbitmq-plugi
ns.bat enable rabbitmq_management
{error_logger,{{2013,9,6},{12,46,51}},"Failed to create cookie file 'u:/.erlang.
cookie': enoent",[]}
{error_logger,{{2013,9,6},{12,46,51}},crash_report,[[{initial_call,{auth,init,['
Argument__1']}},{pid,<0.19.0>},{registered_name,[]},{error_info,{exit,{"Failed t
o create cookie file 'u:/.erlang.cookie': enoent",[{auth,init_cookie,0,[{file,"a
uth.erl"},{line,285}]},{auth,init,1,[{file,"auth.erl"},{line,139}]},{gen_server,
init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{fi
le,"proc_lib.erl"},{line,239}]}]},[{gen_server,init_it,6,[{file,"gen_server.erl"
},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
},{ancestors,[net_sup,kernel_sup,<0.10.0>]},{messages,[]},{links,[<0.17.0>]},{di
ctionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,27},{
reductions,964}],[]]}
{error_logger,{{2013,9,6},{12,46,51}},supervisor_report,[{supervisor,{local,net_
sup}},{errorContext,start_error},{reason,{"Failed to create cookie file 'u:/.erl
ang.cookie': enoent",[{auth,init_cookie,0,[{file,"auth.erl"},{line,285}]},{auth,
init,1,[{file,"auth.erl"},{line,139}]},{gen_server,init_it,6,[{file,"gen_server.
erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}
]}]}},{offender,[{pid,undefined},{name,auth},{mfargs,{auth,start_link,[]}},{rest
art_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2013,9,6},{12,46,51}},supervisor_report,[{supervisor,{local,kern
el_sup}},{errorContext,start_error},{reason,{shutdown,{failed_to_start_child,aut
h,{"Failed to create cookie file 'u:/.erlang.cookie': enoent",[{auth,init_cookie
,0,[{file,"auth.erl"},{line,285}]},{auth,init,1,[{file,"auth.erl"},{line,139}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_
apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}}},{offender,[{pid,undefined},{nam
e,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{s
hutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2013,9,6},{12,46,51}},crash_report,[[{initial_call,{application_
master,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.
9.0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,n
et_sup,{shutdown,{failed_to_start_child,auth,{"Failed to create cookie file 'u:/
.erlang.cookie': enoent",[{auth,init_cookie,0,[{file,"auth.erl"},{line,285}]},{a
uth,init,1,[{file,"auth.erl"},{line,139}]},{gen_server,init_it,6,[{file,"gen_ser
ver.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,
239}]}]}}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"app
lication_master.erl"},{line,133}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.
erl"},{line,239}]}]}},{ancestors,[<0.8.0>]},{messages,[{'EXIT',<0.10.0>,normal}]
},{links,[<0.8.0>,<0.7.0>]},{dictionary,[]},{trap_exit,true},{status,running},{h
eap_size,610},{stack_size,27},{reductions,150}],[]]}
{error_logger,{{2013,9,6},{12,46,51}},std_info,[{application,kernel},{exited,{{s
hutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{"F
ailed …Run Code Online (Sandbox Code Playgroud) 我问/回答这个问题是因为它让我感到困扰,很可能其他人会遇到同样的问题.
在Windows Server 2008 x64上安装RabbitMQ x64 v2.8.6.
在使用默认安装位置到C:\ Program Files\erl5.9.2的Erlang安装之后,我试图通过运行rabbitmq-service.bat来启动服务器.失败:
Please either set ERLANG_HOME to point to your Erlang installation
or place the RabbitMQ server distribution in the Erlang lib folder.
Run Code Online (Sandbox Code Playgroud)
问题是.bat文件没有正确的子路径.与5.9.2(R15B02)版本的erlang.我的ERLANG_HOME目录设置正确,但脚本没有正确使用这个版本的Erlang,这个Erlang noob看起来有一个名为"erts-5.9.2"的新子目录导致问题.也许与这些脚本有亲密关系的人可以描述如何在没有我要描述的黑客解决方法的情况下正确地工作?