Having nodes talk to each other.
Louis van der Stam
Fri Dec 20 15:10:26 CET 2002
I ran epmd -debug and on the Tru64 I do not see the "got PORT2_REQ" when I
execute the net_adm:ping(''). from the n1 shell.
Any further ideas?
Thanx so far,
From: Chandrashekhar Mullaparthi
Sent: 20 December 2002 14:29
To: 'Louis van der Stam';
Subject: RE: Having nodes talk to each other.
Check the cookie the nodes are actually using to be really sure.
Make sure they are both the same. You can run epmd in debug mode. Shutdown
your erlang nodes, kill epmd, and start it up again using
Then start your erlang shells and see what is happening.
From: Louis van der Stam [mailto:]
Sent: 20 December 2002 13:13
Subject: Having nodes talk to each other.
I have seen messages here concerning the problem I'm having, from the
responses I have read, I conclude my problem is different or is it .....
I'm having difficulty getting two Erlang nodes on the same machine
communicate with each other. net_adm:ping(''). fails from n2 and vise
versa. I'm starting the two erlang nodes with '> erl -sname n1' and '> erl
-sname n2' respectively. Before starting I had edited the .erlang.cookie
file in my HOME directory to contain mycookie without quotes. In my
experience this in enough to get two nodes communicating.
The installation where this fails is a Tru64 running R9 (it compiled without
problems). Both nodes create a listen port in the TCP stack, but I never see
a connection being established.
Am I overlooking some simple configuration item or ....?
Is there a switch, ... that instructs erl to write some debuging/traceing
information concerning connections and/or connection attempts and failure
Louis van der Stam
NOTICE AND DISCLAIMER:
This email (including attachments) is confidential. If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents. We cannot accept liability for any breaches of
confidence arising through use of email. Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions. We will not accept responsibility for any commitments
made by our employees outside the scope of our business. We do not warrant
the accuracy or completeness of such information.
More information about the erlang-questions