我是RabbitMQ的初学者,我有一些问题要启用管理插件。该兔子服务器启动并运行,但是当我尝试启用该插件,我得到这在Windows命令提示符下:
原文链接:https://www.f2er.com/windows/372505.htmlC:\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,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,[{file,"a uth.erl"},{line,285}]},1,"auth.erl"},139}]},{gen_server,init_it,6,"gen_server.erl"},304}]},{proc_lib,init_p_do_apply,3,[{fi le,"proc_lib.erl"},239}]}]},[{gen_server,"gen_server.erl" },328}]},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,supervisor_report,[{supervisor,{local,net_ sup}},{errorContext,start_error},{reason,{"Failed to create cookie file 'u:/.erl ang.cookie': enoent","gen_server. erl"},239} ]}]}},{offender,[{pid,undefined},{name,auth},{mfargs,start_link,[]}},{rest art_type,permanent},{shutdown,2000},{child_type,worker}]}]} {error_logger,kern el_sup}},{Failed_to_start_child,aut h,{"Failed to create cookie file 'u:/.erlang.cookie': enoent",init_p_do_ apply,239}]}]}}}},{nam e,net_sup},{erl_distribution,{restart_type,{s hutdown,infinity},supervisor}]}]} {error_logger,{application_ master,['Argument__1','Argument__2','Argument__3','Argument__4']}},<0. 9.0>},{{shutdown,n et_sup,auth,{"Failed to create cookie file 'u:/ .erlang.cookie': enoent",{a uth,"gen_ser ver.erl"},239}]}]}}}}},{kernel,start,[normal,[]]}},[{application_master,4,"app lication_master.erl"},133}]},"proc_lib. erl"},239}]}]}},[<0.8.0>]},[{'EXIT',<0.10.0>,normal}] },[<0.8.0>,<0.7.0>]},{dictionary,{h eap_size,{reductions,150}],std_info,[{application,kernel},{exited,{{s hutdown,net_sup,{"F ailed to create cookie file 'u:/.erlang.cookie': enoent",[{ file,{gen_ server,[]]}}},{type,permanent}]} {"Kernel pid terminated",application_controller,"{application_start_failure,kern el,au th,{\"Failed to create cookie file 'u:/.erlang.cookie': enoent\",init_coo kie,\"auth.erl\"},\"gen_server.erl\"},i nit_p_do_apply,\"proc_lib.erl\"},[norm al,[]]}}}"} Crash dump was written to: erl_crash.dump Kernel pid terminated (application_controller) ({application_start_failure,kerne l,{"Failed to create cookie file 'u:/.
尝试使用rabbitmq-plugins.bat列表列出插件时,我得到相同的错误。
它正在三台完全不同的机器上运行Windows 7(两个)和Windows Servver 2008 R2(一个)。
另外,我使用的是rabbitmq-server-3.1.5和Erlang R16B01。