logo       

Re: Distribution problems: msg#00335

lang.erlang.general

Subject: Re: Distribution problems

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)
(test1@linux)1>
and

erl -sname test2


Erlang (BEAM) emulator version 5.3 [source] [hipe]

Eshell V5.3 (abort with ^G)
(test2@xxxxxxxxxxx)1>

epmd says that it knows both my nodes.

anders@linux:~/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
(test2@xxxxxxxxxxx)1> net_adm:ping(test1@xxxxxxxxxxx)
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/






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise