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

Alexandre Karpov alexakarpov@REDACTED
Sun Oct 1 12:48:31 CEST 2017


Oh my. As usual, the problem had to be that trivial, eh. Thank you (and
everyone else who responded).

On Sun, Oct 1, 2017 at 6:03 AM, bengt e <cean.ebengt@REDACTED> wrote:

> Greetings,
>
> Is there a typo in the command 'erl -name little setcookie abc):' ? I that
> setcookie is a flag, ie -setcookie.
>
> Also, after starting distributed Erlang you have epmd up and running. You
> can ask for other nodes 'epmd -names'
>
>
> bengt
>
> On Sun, Oct 1, 2017 at 5:22 AM, Alexandre Karpov <alexakarpov@REDACTED>
> 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)1> node().
>>
>> '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 and 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/c2177e9e/attachment.htm>


More information about the erlang-questions mailing list