[erlang-questions] Problems stop/attach a release

Khitai Pang khitai.pang@REDACTED
Mon Mar 21 10:51:51 CET 2016


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



More information about the erlang-questions mailing list