[erlang-questions] nodes active/inactive, but why?
Sun Oct 1 10:13:44 CEST 2017
Hi, you have an error around 'setcookie', prepend it with - pls:
erl -sname yyz -setcookie abc
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10]
[async-threads:10] [hipe] [kernel-poll:false]
Eshell V9.0 (abort with ^G)
On 01.10.2017 05:22, Alexandre Karpov wrote:
> Hi all,
> (Forgive me if this mailing list is not a best place for newbie
> question (y'all seem to be way above that level, based on what I've
> seen in the last couple days).
> Working through Joe's book, I've got to the exciting bits in
> "Distributed Programming" (chapter 14), which has examples for setting
> up rpc calls between nodes on the same machine (trivial) and different
> machines (not as trivial). I've got two boxes up for this exercise,
> got Erlang installed, and set up my DNS - I can ping both. But one of
> them acts like an "inactive node", so I don't think my setup is ready
> for playing:
> Node 1 (started with: *erl -name little setcookie abc):*
> <mailto:little@REDACTED>)1> node().
> 'little@REDACTED <mailto:little@REDACTED>'
> Node 2 (started with *erl -name yyz setcookie abc):*
> 1> node().
> Um... what did I do wrong? running 'hostname' gives expected results:
> yyz.alexakarpov.xyz <http://yyz.alexakarpov.xyz> and
> little.alexakarpov.xyz <http://little.alexakarpov.xyz> respectively,
> and they're started the same way... both are running same Erlang
> versions, of course.
> Thank you for your time!
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions