-name <name> vs -name <name at host.com>

Joel Reymont <>
Tue Jun 30 16:19:57 CEST 2009


I have two setups running R13B01 on Ubuntu 9.04.

I can run erl -name foo on one and it works fine but the other one  
reports the error below.

Is it kosher to run -name <name> or must -name be always used with  
?

	Thanks, Joel

---

{error_logger,{{2009,6,30},{10,38,22}},"Can't set long node
name!\nPlease check your configuration\n",[]}
{error_logger,{{2009,6,30},{10,38,22}},crash_report,[[{initial_call, 
{net_kernel,init,['Argument__1']}},{pid,<0.21.0>},{registered_name,[]}, 
{error_info,{exit,{error,badarg},[{gen_server,init_it,6}, 
{proc_lib,init_p_do_apply,3}]}},{ancestors, 
[net_sup,kernel_sup,<0.8.0>]},{messages,[]},{links,[<0.18.0>]}, 
{dictionary,[{longnames,true}]},{trap_exit,true},{status,running}, 
{heap_size,1597},{stack_size,24},{reductions,801}],[]]}
{error_logger,{{2009,6,30},{10,38,22}},supervisor_report,[{supervisor, 
{local,net_sup}},{errorContext,start_error},{reason, 
{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel}, 
{mfa,{net_kernel,start_link,[[janus,longnames]]}}, 
{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2009,6,30},{10,38,22}},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,{{2009,6,30},{10,38,22}},std_info,[{application,kernel}, 
{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid  
terminated",application_controller,"{application_start_failure,kernel, 
{shutdown,{kernel,start,[normal,[]]}}}"}

---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont



More information about the erlang-questions mailing list