Then later I used erl to remote shell into the application and stop
Checking with regs(). i can see message_service is stopped and
Now, if I try to run the bash script above again, It won't start and
I get a crash_dump that's looks like it's caused by a conflicting
registered name. Interestingly, I can still remote shell into the
erl sname dave -remsh messenger@mango
But the actual OTP application is not running - because i stopped it
earlier. Once I rebooted my machine all worked as expected.
My question is if you start a shell using "sname" and "-detached" how
do you properly/completely stop it? Is the sname held somewhere
different then a registered name?
My goal is to be able to control this from an init.d script.
> My question is if you start a shell using "sname"
> and "-detached" how
> do you properly/completely stop it? Is the sname
> held somewhere
> different then a registered name?
> My goal is to be able to control this from an init.d
>From what it sounds like, you only stopped your
application running on the node, so you must also stop
the erlang node itself. E.g., while inside that shell: