distributed erl startup crash

Serge Aleynikov serge@REDACTED
Wed Aug 13 14:14:45 CEST 2003


Can anybody tell why erl shell would crash at startup on WinXP with the 
following message?  It does start fine in the non-distributed mode.  If 
I am reading the error dump correctly, net_kernel failed to start a 
listener on port 15000.  I checked netstat and don't see anything 
running on 15000, so there should be no conflict.  Is there a way to 
start the shell in a more verbose mode?

Serge

c:\>erl -sname node1
{error_logger,{{2003,8,13},{8,6,44}},'Protocol: ~p: register/listen 
error: ~p~n'
,[inet_tcp,enotsock]}
{error_logger,{{2003,8,13},{8,6,44}},crash_report,[[{pid,<0.17.0>},{registered_n
ame,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_serv
er,<0.14.0>,<0.14.0>,{local,net_kernel},net_kernel,{node1,shortnames,15000},[]]}
},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.14.0>]},{dic
tionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,377},{
stack_size,23},{reductions,281}],[]]}
{error_logger,{{2003,8,13},{8,6,44}},supervisor_report,[{supervisor,{local,net_s
up}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid
,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[node1,shortnames]]}}
,{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2003,8,13},{8,6,44}},supervisor_report,[{supervisor,{local,kerne
l_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},
{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type,permanent},{
shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2003,8,13},{8,6,44}},crash_report,[[{pid,<0.7.0>},{registered_na
me,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{applica
tion_master,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_controller,erl_
reply,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,
error_logger,file_server,file_server_2,fixtable_server,global_group,global_name_
server,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server
,ddll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,applicatio
n_controller,application_master,application_starter,auth,code,code_aux,packages,
code_server,dist_util,erl_boot_server,erl_distribution,erl_open_port,erl_prim_lo
ader,erl_reply,erlang,error_handler,error_logger,file,file_server,old_file_serve
r,file_io_server,prim_file,global,global_group,global_search,group,heart,inet6_t
cp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,inet_gethost_native,inet_tcp_
dist,init,kernel,kernel_config,net,net_adm,net_kernel,os,ram_file,rpc,user,user_
drv,user_sup,disk_log,disk_log_1,disk_log_server,disk_log_sup,dist_ac,erl_ddll,e
rl_epmd,erts_debug,gen_tcp,gen_udp,prim_inet,inet,inet_db,inet_dns,inet_parse,in
et_res,inet_tcp,inet_udp,pg2,seq_trace,socks5,socks5_auth,socks5_tcp,socks5_udp,
wrap_log_reader,otp_ring0],[],infinity,infinity},normal]}},{ancestors,[<0.6.0>]}
,{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.6.0>,<0.5.0>]},{dictionary,[]},
{trap_exit,true},{status,running},{heap_size,610},{stack_size,23},{reductions,10
80}],[]]}
{error_logger,{{2003,8,13},{8,6,44}},std_info,[{application,kernel},{exited,{shu
tdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,shutdown}
Kernel pid terminated (application_controller) (shutdown)





More information about the erlang-questions mailing list