<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi, you have an error around 'setcookie', prepend it with - pls:<br>
</p>
<p>erl -sname yyz -setcookie abc<br>
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10]
[async-threads:10] [hipe] [kernel-poll:false]<br>
<br>
Eshell V9.0 (abort with ^G)<br>
(yyz@brixia)1> node().<br>
yyz@brixia<br>
(yyz@brixia)2> erlang:get_cookie().<br>
abc<br>
</p>
<p>Best regards,<br>
Vyacheslav<br>
</p>
<br>
<div class="moz-cite-prefix">On 01.10.2017 05:22, Alexandre Karpov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMBYuect220N8nb4fFy+UGNPP75_s4-3Tj0bWNLF9mergJubGQ@mail.gmail.com">
<div dir="ltr">Hi all,<br>
<br>
(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).<br>
<br>
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:<br>
<br>
Node 1 (started with: <b>erl -name little setcookie abc):</b><br>
<br>
(<a href="mailto:little@little.alexakarpov.xyz"
moz-do-not-send="true">little@little.alexakarpov.xyz</a>)1>
node().<br>
<br>
'<a href="mailto:little@little.alexakarpov.xyz"
moz-do-not-send="true">little@little.alexakarpov.xyz</a>'<br>
<br>
Node 2 (started with <b>erl -name yyz setcookie abc):</b><br>
<br>
1> node().<br>
<br>
nonode@nohost<br>
<br>
Um... what did I do wrong? running 'hostname' gives expected
results: <a href="http://yyz.alexakarpov.xyz"
moz-do-not-send="true">yyz.alexakarpov.xyz</a> and <a
href="http://little.alexakarpov.xyz" moz-do-not-send="true">little.alexakarpov.xyz</a>
respectively, and they're started the same way... both are
running same Erlang versions, of course.
<div><br>
</div>
<div>Thank you for your time!</div>
<div>Alex</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>