二郎没有饼干的家

2024-10-03 15:31:53 发布

您现在位置:Python中文网/ 问答频道 /正文

“没有cookie文件的家”是什么意思?我该如何解决这个问题:

export BINDIR=/usr/lib/disco/master/ebin/;/usr/lib/erlang/erts-5.10.4/bin/beam -K true -P 10000000 -scl false -stbt s -- -root /usr/lib/erlang -progname erl -- -home /usr/var/disco info -- -lager handlers [{lager_file_backend,[{file,"/usr/var/disco/log/error.log"}, {level, error}, {size, 1048576000}, {date, "$D0"}, {count, 5}]},{lager_file_backend,[{file,"/usr/var/disco/log/console.log"}, {level, debug}, {size, 1048576000}, {date, "$D0"}, {count, 5}]}] -lager error_logger_hwm 200 -lager crash_log "/usr/var/disco/log/crash.log" -rsh ssh -connect_all false -sname disco_8989_master -pa /usr/lib/disco/master/ebin -pa /usr/lib/disco/master/deps/mochiweb/ebin -pa /usr/lib/disco/master/deps/goldrush/ebin -pa /usr/lib/disco/master/deps/lager/ebin -pa /usr/lib/disco/master/deps/meck/ebin -pa /usr/lib/disco/master/deps/bear/ebin -pa /usr/lib/disco/master/deps/folsom/ebin -pa /usr/lib/disco/master/deps/folsomite/ebin -pa /usr/lib/disco/master/deps/plists/ebin -eval "application:start(disco)"

{error_logger,{{2016,11,7},{17,25,49}},"No home for cookie file",[]}
{error_logger,{{2016,11,7},{17,25,49}},crash_report,[[{initial_call,{auth,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{"No home for cookie file",[{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}]}]},[{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.18.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,27},{reductions,139}],[]]}
{error_logger,{{2016,11,7},{17,25,49}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{"No home for cookie file",[{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,[]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2016,11,7},{17,25,49}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,{shutdown,{failed_to_start_child,auth,{"No home for cookie file",[{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,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2016,11,7},{17,25,49}},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,net_sup,{shutdown,{failed_to_start_child,auth,{"No home for cookie file",[{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}]}]}}}}},{kernel,start,[normal,[]]}},[{application_master,init,4,[{file,"application_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},{heap_size,987},{stack_size,27},{reductions,179}],[]]}
{error_logger,{{2016,11,7},{17,25,49}},std_info,[{application,kernel},{exited,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{"No home for cookie file",[{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}]}]}}}}},{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,auth,{\"No home for cookie file\",[{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}]}]}}}}},{kernel,start,[normal,[]]}}}"}

更多上下文:

 disco@download1-6401:~$ cat $HOME/.erlang.cookie;echo;ls -ail .erlang.cookie 
QCQSMBOQOJCGVKZCUXQL
263466 -rw------- 1 disco disco 20 Nov  4 00:00 .erlang.cookie

Tags: masterauthserverinitcookielibusrline
1条回答
网友
1楼 · 发布于 2024-10-03 15:31:53

您可以使用它提供的脚本来运行disco以启动它、停止它、检查它的状态等。下面的步骤对我很有用,但请注意它们需要gitmake^{}working Erlang installation。(我在下面用省略号表示冗长的输出没有导入到这里来显示。)

$ git clone git@github.com:discoproject/disco.git
...
$ cd disco
$ make
...
$ PATH=$PWD/bin:$PATH ./bin/disco start
Master bignosk:8989 started

我最初在Erlang19.x的最新版本中尝试过这个,但是构建失败了,所以我回到了Erlang18.3,然后一切正常。你知道吗

相关问题 更多 >