[erlang-questions] net_kernel:start oddity
David Welton
davidnwelton@REDACTED
Fri Feb 6 17:56:28 CET 2015
I found net_kernel:verbose(10), which gives me, on the 'bad' node:
(foo@REDACTED)10> net_kernel:connect_node('bar@REDACTED').
=INFO REPORT==== 6-Feb-2015::17:43:41 ===
{net_kernel,{connect,normal,'bar@REDACTED'}}
=INFO REPORT==== 6-Feb-2015::17:43:41 ===
{net_kernel,{'EXIT',<0.7660.0>,shutdown}}
=INFO REPORT==== 6-Feb-2015::17:43:41 ===
{net_kernel,{net_kernel,875,nodedown,'bar@REDACTED'}}
false
On the 'good' node, it works right away:
(bar@REDACTED)7> net_kernel:connect_node('foo@REDACTED').
=INFO REPORT==== 6-Feb-2015::17:55:43 ===
{net_kernel,{connect,normal,'foo@REDACTED'}}
true
And after that, on the 'pang' node, I can connect to the other node as well...
(foo@REDACTED)36> net_kernel:connect_node('bar@REDACTED').
=INFO REPORT==== 6-Feb-2015::17:56:17 ===
{net_kernel,{connect,normal,'bar@REDACTED'}}
true
--
David N. Welton
http://www.welton.it/davidw/
http://www.dedasys.com/
More information about the erlang-questions
mailing list