node startup crash

Serge Aleynikov serge@REDACTED
Fri Apr 22 16:05:23 CEST 2005


Hi,

I upgraded Erlang on one of our Linux servers to R10B-4, and started 
getting this error at startup.  This problem wasn't observed before the 
upgrade.

 >erl -sname a
{error_logger,{{2005,4,21},{21,30,39}},'Protocol: ~p: register error: 
~p~n',[inet_tcp,{timeout,{gen_server,call,[erl_epmd,{register,a,35269},15000]}}]}
{error_logger,{{2005,4,21},{21,30,39}},crash_report,[[{pid,<0.18.0>},{registered_name,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_server,<0.15.0>,<0.15.0>,{local,net_kernel},net_kernel,{a,longnames,15000},[]]}},{ancestors,[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[#Port<0.6>,<0.15.0>]},{dictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size,377},{stack_size,21},{reductions,373}],[]]}
{error_logger,{{2005,4,21},{21,30,39}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[a,longnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2005,4,21},{21,30,39}},supervisor_report,[{supervisor,{local,kernel_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,{{2005,4,21},{21,30,39}},crash_report,[[{pid,<0.7.0>},{registered_name,[]},{error_info,{shutdown,{kernel,start,[normal,[]]}}},{initial_call,{application_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,application_controller,application_master,application_starter,auth,code,code_aux,packages,code_server,dist_util,erl_boot_server,erl_distribution,erl_prim_loader,erl_reply,erlang,error_handler,error_logger,file,file_server,old_file_server,file_io_server,prim_file,global,global_group,global_search,group,heart,hipe_unified_loader,hipe_sparc_loader,hipe_ppc_loader,hipe_x86_loader,hipe_amd64_loader,inet6_tcp,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,erl_epmd,erts_debug,gen_tcp,gen_udp,prim_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_tcp,inet_udp,pg2,seq_trace,wrap_log_reader,zlib,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,377},{stack_size,21},{reductions,101}],[]]}
{error_logger,{{2005,4,21},{21,30,39}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,shutdown}
Kernel pid terminated (application_controller) (shutdown)

---

epmd seems to be running ok:
~>ps -aux | grep epmd
serge    26268  0.0  0.0  1932  660 ?        S    17:16   0:00 
/home/serge/erl/erts-5.4.5/bin/epmd -daemon

Netstat (netstat -a | grep 35269) doesn't show port 35269 being taken.

I ran strace on this machine and on another machine that doesn't exhibit 
  this error, and saved the output to out_bad.txt and out_good.txt 
respectively (cutting everything before and after the problem spot):

strace erl -sname a 2> out_bad.txt

Could anyone suggest the cause of this error?

Thanks.

Serge
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: out_bad.txt
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050422/dcf33c65/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: out_good.txt
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20050422/dcf33c65/attachment-0001.txt>


More information about the erlang-questions mailing list