Distribution problems

Thomas Lange <>
Fri Jan 30 13:39:02 CET 2004


It seems strange that the second node is named @linux.local.
The first one is only @linux.
With -sname, I think it should be @linux only( i.e. hostname only ).

Sometimes erlang requires a cookie to be set to allow distribution.
( Earlier releases or between different hosts?? )

You could try that ( -setcookie anything ).

e.g.
erl -sname a -setcookie pelle

/Thomas

Rocio Lopez wrote:
> Hi
> I am trying to get two erlang nodes to talk to each other.
> They are on the same machine.
> 
>> erl -sname test1
> 
> Erlang (BEAM) emulator version 5.3 [source] [hipe]
> 
> Eshell V5.3  (abort with ^G)
> ()1>
> and
> 
>> erl -sname test2
> 
> 
> Erlang (BEAM) emulator version 5.3 [source] [hipe]
> 
> Eshell V5.3  (abort with ^G)
> ()1>
> 
> epmd says that it knows both my nodes.
> 
> :~/erlang/snmp> /usr/local/lib/erlang/erts-5.3/bin/epmd -names
> epmd: up and running on port 4369 with data:
> name test2 at port 40172
> name test1 at port 40170
> 
> But
> ()1> net_adm:ping()
> pang
> 
> I am using R9c on SuSE 8.2.
> 
> So, any ideas on what is wrong?
> 
> /Anders Nygren
> 
> _________________________________________________________________
> MSN. Más Útil Cada Día  http://www.msn.es/intmap/
> 





More information about the erlang-questions mailing list