[erlang-questions] nodes active/inactive, but why?

Vyacheslav Levytskyy v.levytskyy@REDACTED
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)
(yyz@REDACTED)1> node().
(yyz@REDACTED)2> erlang:get_cookie().

Best regards,

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):*
> (little@REDACTED 
> <mailto:little@REDACTED>)1> node().
> 'little@REDACTED <mailto:little@REDACTED>'
> Node 2 (started with *erl -name yyz setcookie abc):*
> 1> node().
> nonode@REDACTED
> 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!
> Alex
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171001/1a1b3024/attachment.htm>

More information about the erlang-questions mailing list