[rabbitmq-discuss] Failed to create cookie z

alice7 chaitanya.gaur at gmail.com
Tue Feb 5 06:16:39 GMT 2013


HI Guys,
I just installed new erlang and new rabbit mq on my machine.
And when I trying to enable the management module it is giving this error:


C:\Program Files (x86)\erl5.10\erts-5.10\bin>erl.exe -sname rabbit
{error_logger,{{2013,2,5},{0,8,58}},"Failed to create cookie file 
'z:/.erlang.co
okie': enoent",[]}
{error_logger,{{2013,2,5},{0,8,58}},crash_report,[[{initial_call,{auth,init,['Ar
gument__1']}},{pid,<0.19.0>},{registered_name,[]},{error_info,{exit,{"Failed 
to
create cookie file 'z:/.erlang.cookie': 
enoent",[{auth,init_cookie,0,[{file,"aut
h.erl"},{line,285}]},{auth,init,1,[{file,"auth.erl"},{line,139}]},{gen_server,in
it_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file
,"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>]},{dict
ionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,27},{re
ductions,917}],[]]}
{error_logger,{{2013,2,5},{0,8,58}},supervisor_report,[{supervisor,{local,net_su
p}},{errorContext,start_error},{reason,{"Failed to create cookie file 
'z:/.erlan
g.cookie': 
enoent",[{auth,init_cookie,0,[{file,"auth.erl"},{line,285}]},{auth,in
it,1,[{file,"auth.erl"},{line,139}]},{gen_server,init_it,6,[{file,"gen_server.er
l"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}
]}},{offender,[{pid,undefined},{name,auth},{mfargs,{auth,start_link,[]}},{restar
t_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2013,2,5},{0,8,58}},supervisor_report,[{supervisor,{local,kernel
_sup}},{errorContext,start_error},{reason,{shutdown,{failed_to_start_child,auth,
{"Failed to create cookie file 'z:/.erlang.cookie': 
enoent",[{auth,init_cookie,0
,[{file,"auth.erl"},{line,285}]},{auth,init,1,[{file,"auth.erl"},{line,139}]},{g
en_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_ap
ply,3,[{file,"proc_lib.erl"},{line,239}]}]}}}},{offender,[{pid,undefined},{name,
net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shu
tdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2013,2,5},{0,8,58}},crash_report,[[{initial_call,{application_ma
ster,init,['Argument__1','Argument__2','Argument__3','Argument__4']}},{pid,<0.9.
0>},{registered_name,[]},{error_info,{exit,{{shutdown,{failed_to_start_child,net
_sup,{shutdown,{failed_to_start_child,auth,{"Failed to create cookie file 
'z:/.e
rlang.cookie': 
enoent",[{auth,init_cookie,0,[{file,"auth.erl"},{line,285}]},{aut
h,init,1,[{file,"auth.erl"},{line,139}]},{gen_server,init_it,6,[{file,"gen_serve
r.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,23
9}]}]}}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"appli
cation_master.erl"},{line,138}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.er
l"},{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},{hea
p_size,610},{stack_size,27},{reductions,150}],[]]}
{error_logger,{{2013,2,5},{0,8,58}},std_info,[{application,kernel},{exited,{{shu
tdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{"Fai
led to create cookie file 'z:/.erlang.cookie': 
enoent",[{auth,init_cookie,0,[{fi
le,"auth.erl"},{line,285}]},{auth,init,1,[{file,"auth.erl"},{line,139}]},{gen_se
rver,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3
,[{file,"proc_lib.erl"},{line,239}]}]}}}}},{kernel,start,[normal,[]]}}},{type,pe
rmanent}]}
{"Kernel pid 
terminated",application_controller,"{application_start_failure,kern
el,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,au
th,{\"Failed to create cookie file 'z:/.erlang.cookie': 
enoent\",[{auth,init_coo
kie,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,i
nit_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,239}]}]}}}}},{kernel,start,[norm
al,[]]}}}"}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) 
({application_start_failure,kerne
l,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,aut
h,{"Failed to create cookie file 'z:/.

Any ideas guys?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130204/9eb67f5a/attachment.htm>


More information about the rabbitmq-discuss mailing list