[erlang-questions] Problems stop/attach a release

Khitai Pang <>
Mon Mar 21 11:08:21 CET 2016


I found these in my _rel/myapp/log/erlang.log.1:

=ERROR REPORT==== 21-Mar-2016::17:46:55 ===^M
** Connection attempt from disallowed node 
'' ** ^M
^M
=ERROR REPORT==== 21-Mar-2016::17:46:55 ===^M
** Connection attempt from disallowed node 
'' ** ^M
^M
=ERROR REPORT==== 21-Mar-2016::17:50:03 ===^M
** Connection attempt from disallowed node 
'' ** ^M
^M
=ERROR REPORT==== 21-Mar-2016::17:50:03 ===^M
** Connection attempt from disallowed node 
'' ** ^M


Is it the reason why I can't stop or attach a console?  If yes, how to 
fix it?

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.


Thanks
Khitai

On 2016/3/21 17:51, Khitai Pang wrote:
> Hi,
>
> I build my release by erlang.mk and relx.
>
> I can start the release by running:
>
> $ _rel/myapp/bin/myapp start
>
> 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.
>
>
> Problem 1:
>
> I can't stop it by running
>
> $ _rel/myapp/bin/myapp stop
>
> after running the command, it's still running (the processes are still 
> there).
>
> Problem 2:
>
> I can't start an attaching shell, when I run
>
> $ _rel/myapp/bin/myapp attach
>
> I get "Node is not running!"
>
>
> Any idea?
>
>
> Thanks
> Khitai
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list