[erlang-questions] nodes active/inactive, but why?
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:
> 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'
> On Sun, Oct 1, 2017 at 5:22 AM, Alexandre Karpov <alexakarpov@REDACTED>
>> 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().
>> 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 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!
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions