[erlang-questions] [erl -name] crashes on vista
Lennart Öhman
Lennart.Ohman@REDACTED
Mon Feb 4 19:57:13 CET 2008
Hi, copy and paste from a dos window (on XP)
/Lennart
C:\Program Files\erl5.6\erts-5.6\bin>epmd -help
usage: epmd [-d|-debug] [DbgExtra...] [-port No] [-daemon]
[-d|-debug] [-port No] [-names|-kill]
See the Erlang epmd manual page for info about the usage.
The -port and DbgExtra options are
-port No
Let epmd listen to another port than default 4369
-d
-debug
Enable debugging. This will give a log to
the standard error stream. It will shorten
the number of saved used node names to 5.
If you give more than one debug flag you may
get more debugging information.
-packet_timout Seconds
Set the number of seconds a connection can be
inactive before epmd times out and closes the
connection (default 60).
-delay_accept Seconds
To simulate a busy server you can insert a
delay between epmd gets notified about that
a new connection is requested and when the
connections gets accepted.
-delay_write Seconds
Also a simulation of a busy server. Inserts
a delay before a reply is sent.
C:\Program Files\erl5.6\erts-5.6\bin>epmd -names
epmd: Cannot connect to local epmd
THIS SINCE EPMD IS NOT RUNNING
I START A DISTRIBUTED ERLANG NODE - USING THE RUN COMMAND AND -sname foo2
C:\Program Files\erl5.6\erts-5.6\bin>epmd -names
epmd: up and running on port 4369 with data:
name foo2 at port 1148
C:\Program Files\erl5.6\erts-5.6\bin>
---------------------------------------------------------------------------
Lennart Öhman phone : +46-8-587 623 27
Sjöland & Thyselius Telecom AB cellular: +46-70-552 6735
Hälsingegatan 43, 10th floor fax : +46-8-667 8230
SE-113 31 STOCKHOLM, SWEDEN email : lennart.ohman@REDACTED
-----Original Message-----
From: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of cactus
Sent: den 4 februari 2008 18:58
To: erlang-questions@REDACTED
Subject: Re: [erlang-questions] [erl -name] crashes on vista
hi - hmmmm on my windows xp box (where everything works fine) i did
not have to run an epmd
=> by the way - what is the epmd for - sounds like some kind of unix
style daemon ?
=> do i need to run an epmd ? if so - how ?
=> so for me it looks like that vista somehow blocks registering of
erlang node
=> i already turned off all the firewalls ...
has anyone any experience with erlang on vista ?
thänx and greetz from vienna
cactus
On Feb 3, 9:17 pm, Lennart Öhman <Lennart.Oh...@REDACTED> wrote:
> Hi Gerold,
> have you checked that you have an epmd running, or that you can get it
> running? (and that windows allows it to accept connections?)
>
> It looks like your problem is a connection problem.
>
> {badmatch,{error,econnrefused}
>
> I don't have a vista box but I can get the same problem if I deny the epmd
> to accept connections in my Zonealarm.
>
> Best Regards
> Lennart
>
> ---------------------------------------------------------------------------
> Lennart Öhman phone : +46-8-587 623 27
> Sjöland & Thyselius Telecom AB cellular: +46-70-552 6735
> Hälsingegatan 43, 10th floor fax : +46-8-667 8230
> SE-113 31 STOCKHOLM, SWEDEN email : lennart.oh...@REDACTED
>
> -----Original Message-----
> From: erlang-questions-boun...@REDACTED [mailto:erlang-questions-boun...@REDACTED] On Behalf Of gerold kathan
> Sent: den 3 februari 2008 20:11
> To: erlang-questi...@REDACTED
> Subject: [erlang-questions] [erl -name] crashes on vista
>
> Hej,
> i am running into problems when trying to register a an erlang node via 'erl
> -name myname' command
> * the problem only occurs under ms vista (I already run my shell with admin
> rights)
> * it works fine on another xp box
> * I tried with RB12 and R11B
> * error message I get looks like the following
>
> Thänx and greetings from vienna,
> Cactus.
>
> C:\Windows\system32>erl -name h1
> {error_logger,{{2008,2,3},{20,7,6}},"Protocol: ~p: register error:
> ~p~n",["inet_tcp",{{badmatch,{error,econnrefused}},[{inet_tcp_dist,listen,1}
> ,{net_k
> ernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{
> net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p,5}]}]}
> {error_logger,{{2008,2,3},{20,7,6}},crash_report,[[{pid,<0.20.0>},{registere
> d_name,net_kernel},{error_info,{exit,{error,badarg},[{gen_server,init_it,6
> },{proc_lib,init_p,5}]}},{initial_call,{gen,init_it,[gen_server,<0.17.0>,<0.
> 17.0>,{local,net_kernel},net_kernel,{h1,longnames,15000},[]]}},{ancestors,
> [net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[#Port<0.7>,<0.17.0>]},{d
> ictionary,[{longnames,true}]},{trap_exit,true},{status,running},{heap_size
> ,377},{stack_size,23},{reductions,419}],[]]}
> {error_logger,{{2008,2,3},{20,7,6}},supervisor_report,[{supervisor,{local,ne
> t_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offen
> der,[{pid,undefined},{name,net_kernel},{mfa,{net_kernel,start_link,[[h1,long
> names]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
>
> {error_logger,{{2008,2,3},{20,7,6}},supervisor_report,[{supervisor,{local,ke
> rnel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,un
> defined},{name,net_sup},{mfa,{erl_distribution,start_link,[]}},{restart_type
> ,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
> {error_logger,{{2008,2,3},{20,7,6}},crash_report,[[{pid,<0.7.0>},{registered
> _name,[]},{error_info,{exit,{shutdown,{kernel,start,[normal,[]]}},[{applic
> ation_master,init,4},{proc_lib,init_p,5}]}},{initial_call,{application_maste
> r,init,[<0.5.0>,<0.6.0>,{appl_data,kernel,[application_controller,erl_repl
> y,auth,boot_server,code_server,disk_log_server,disk_log_sup,erl_prim_loader,
> error_logger,file_server_2,fixtable_server,global_group,global_name_server
> ,heart,init,kernel_config,kernel_sup,net_kernel,net_sup,rex,user,os_server,d
> dll_server,erl_epmd,inet_db,pg2],undefined,{kernel,[]},[application,applic
> ation_controller,application_master,application_starter,auth,code,code_aux,p
> ackages,code_server,dist_util,erl_boot_server,erl_distribution,erl_prim_lo
> ader,erl_reply,erlang,error_handler,error_logger,file,file_server,file_io_se
> rver,prim_file,global,global_group,global_search,group,heart,hipe_unified_
> loader,inet6_tcp,inet6_tcp_dist,inet6_udp,inet_config,inet_hosts,inet_gethos
> t_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,dis
> k_log_sup,dist_ac,erl_ddll,erl_epmd,erts_debug,gen_tcp,gen_udp,gen_sctp,pr
> im_inet,inet,inet_db,inet_dns,inet_parse,inet_res,inet_tcp,inet_udp,inet_sct
> p,pg2,seq_trace,wrap_log_reader,zlib,otp_ring0],[],infinity,infinity},norm
> al]}},{ancestors,[<0.6.0>]},{messages,[{'EXIT',<0.8.0>,normal}]},{links,[<0.
> 6.0>,<0.5.0>]},{dictionary,[]},{trap_exit,true},{status,running},{heap_siz
> e,987},{stack_size,23},{reductions,124}],[]]}
> {error_logger,{{2008,2,3},{20,7,6}},std_info,[{application,kernel},{exited,{
> shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
> {"Kernel pid
> terminated",application_controller,"{application_start_failure,kernel,{shutd
> own,{kernel,start,[normal,[]]}}}"}
>
> Crash dump was written to: erl_crash.dump
> Kernel pid terminated (application_controller)
> ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://www.erlang.org/mailman/listinfo/erlang-questions
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://www.erlang.org/mailman/listinfo/erlang-questions
>
>
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://www.erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list