<div dir="ltr">We had something similar and it was related to the cookie.<div>Are you sure there are no erlang:set_cookie/2 calls in your code?</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div><br></div><div>Cheers,</div><div>-- </div><div>Pierre Fenoll</div></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On 21 March 2016 at 11:08, Khitai Pang <span dir="ltr"><<a href="mailto:khitai.pang@outlook.com" target="_blank">khitai.pang@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I found these in my _rel/myapp/log/erlang.log.1:<br>
<br>
=ERROR REPORT==== 21-Mar-2016::17:46:55 ===^M<br>
** Connection attempt from disallowed node '<a href="mailto:myapp_maint_45928@myapp1.mycluster.com" target="_blank">myapp_maint_45928@myapp1.mycluster.com</a>' ** ^M<br>
^M<br>
=ERROR REPORT==== 21-Mar-2016::17:46:55 ===^M<br>
** Connection attempt from disallowed node '<a href="mailto:myapp_maint_45928@myapp1.mycluster.com" target="_blank">myapp_maint_45928@myapp1.mycluster.com</a>' ** ^M<br>
^M<br>
=ERROR REPORT==== 21-Mar-2016::17:50:03 ===^M<br>
** Connection attempt from disallowed node '<a href="mailto:myapp_maint_46033@myapp1.mycluster.com" target="_blank">myapp_maint_46033@myapp1.mycluster.com</a>' ** ^M<br>
^M<br>
=ERROR REPORT==== 21-Mar-2016::17:50:03 ===^M<br>
** Connection attempt from disallowed node '<a href="mailto:myapp_maint_46033@myapp1.mycluster.com" target="_blank">myapp_maint_46033@myapp1.mycluster.com</a>' ** ^M<br>
<br>
<br>
Is it the reason why I can't stop or attach a console?  If yes, how to fix it?<br>
<br>
I was guessing that maybe the issue is caused by erlang cookies in ~/.erlang.cookie and my release vm.config -setcookie being different, I made them the same the the issue still exists.<br>
<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
Khitai</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 2016/3/21 17:51, Khitai Pang wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I build my release by <a href="http://erlang.mk" rel="noreferrer" target="_blank">erlang.mk</a> and relx.<br>
<br>
I can start the release by running:<br>
<br>
$ _rel/myapp/bin/myapp start<br>
<br>
It starts well and listens properly, I tried to use my client app to connect to it, all functions well, and I can start other nodes, and distribution works just fine.<br>
<br>
<br>
Problem 1:<br>
<br>
I can't stop it by running<br>
<br>
$ _rel/myapp/bin/myapp stop<br>
<br>
after running the command, it's still running (the processes are still there).<br>
<br>
Problem 2:<br>
<br>
I can't start an attaching shell, when I run<br>
<br>
$ _rel/myapp/bin/myapp attach<br>
<br>
I get "Node is not running!"<br>
<br>
<br>
Any idea?<br>
<br>
<br>
Thanks<br>
Khitai<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>