<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Bit of a beginner on using Erlang.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I was following a tutorial and it said to run Erlang like
follows:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> erl.exe
–sname ping<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>It fails miserably. I was wondering if it has got something
to do with my OS (Windows XP) or something to do with how Erlang is set up? And
of course, how do I fix it?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The error was:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>C:\PROGRA~1\erl5.3>bin\erl.exe -sname ping<br>
{error_logger,{{2004,4,8},{13,5,52 }},'Protocol: ~p: register/listen
error: ~p~n'<br>
,[inet_tcp,enotsock]}<br>
{error_logger,{{2004,4,8},{13,5,52 }},crash_report,[[{pid,<0.18.0>
},{registered_n<br>
ame,net_kernel},{error_info,{error ,badarg}},{initial_call,{gen,init_
it,[gen_serv<br>
er,<0.15.0>,<0.15.0>,{ local,net_kernel},net_kernel,{ping
,shortnames,15000},[]]}}<br>
,{ancestors,[net_sup,kernel_sup,<
0.8.0>]},{messages,[]},{links,[< 0.15.0>]},{dict<br>
ionary,[{longnames,false}]},{trap_ exit,true},{status,running},{heap_
size,377},{s<br>
tack_size,21},{reductions,275}],[] ]}<br>
{error_logger,{{2004,4,8},{13,5,52 }},supervisor_report,[{supervisor,
{local,net_s<br>
up}},{errorContext,start_error},{r eason,{'EXIT',nodistribution}},{of
fender,[{pid<br>
,undefined},{name,net_kernel},{mfa ,{net_kernel,start_link,[[ping,sho
rtnames]]}},<br>
{restart_type,permanent},{shutdown ,2000},{child_type,worker}]}]}<br>
{error_logger,{{2004,4,8},{13,5,52 }},supervisor_report,[{supervisor,
{local,kerne<br>
l_sup}},{errorContext,start_error} ,{reason,shutdown},{offender,[{pid
,undefined},<br>
{name,net_sup},{mfa,{erl_distribut ion,start_link,[]}},{restart_type,
permanent},{<br>
shutdown,infinity},{child_type,sup ervisor}]}]}<br>
{error_logger,{{2004,4,8},{13,5,52 }},crash_report,[[{pid,<0.7.0>
},{registered_na<br>
me,[]},{error_info,{shutdown,{kern el,start,[normal,[]]}}},{initial_c
all,{applica<br>
tion_master,init,[<0.5.0>,< 0.6.0>,{appl_data,kernel,[appli
cation_controller,erl_<br>
reply,auth,boot_server,code_server ,disk_log_server,disk_log_sup,erl_
prim_loader,<br>
error_logger,file_server,file_serv er_2,fixtable_server,global_group,
global_name_<br>
server,heart,init,kernel_config,ke rnel_sup,net_kernel,net_sup,rex,us
er,os_server<br>
,ddll_server,erl_epmd,inet_db,pg2] ,undefined,{kernel,[]},[applicatio
n,applicatio<br>
n_controller,application_master,ap plication_starter,auth,code,code_a
ux,packages,<br>
code_server,dist_util,erl_boot_ser ver,erl_distribution,erl_prim_load
er,erl_reply<br>
,erlang,error_handler,error_logger ,file,file_server,old_file_server,
file_io_serv<br>
er,prim_file,global,global_group,g lobal_search,group,heart,inet6_tcp
,inet6_tcp_d<br>
ist,inet6_udp,inet_config,inet_hos ts,inet_gethost_native,inet_tcp_di
st,init,kern<br>
el,kernel_config,net,net_adm,net_k ernel,os,ram_file,rpc,user,user_dr
v,user_sup,d<br>
isk_log,disk_log_1,disk_log_server ,disk_log_sup,dist_ac,erl_ddll,erl
_epmd,erts_d<br>
ebug,gen_tcp,gen_udp,prim_inet,ine t,inet_db,inet_dns,inet_parse,inet
_res,inet_tc<br>
p,inet_udp,pg2,seq_trace,socks5,so cks5_auth,socks5_tcp,socks5_udp,wr
ap_log_reade<br>
r,zlib,otp_ring0],[],infinity,infi nity},normal]}},{ancestors,[<0.
6.0>]},{message<br>
s,[{'EXIT',<0.8.0>,normal}]} ,{links,[<0.6.0>,<0.5.0>
]},{dictionary,[]},{trap_exi<br>
t,true},{status,running},{heap_siz e,610},{stack_size,21},{reductions
,1080}],[]]}<br>
<br>
{error_logger,{{2004,4,8},{13,5,52 }},std_info,[{application,kernel},
{exited,{shu<br>
tdown,{kernel,start,[normal,[]]}}} ,{type,permanent}]}<br>
{"Kernel pid terminated",application_controller ,shutdown}<br>
<br>
Crash dump was written to: erl_crash.dump<br>
Kernel pid terminated (application_controller) (shutdown)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Thanks,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> Simeon
Verzijl</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>
</div>
</body>
</html>