[erlang-questions] Can't attach to a running release: "No such device or address"

Ivan Uemlianin ivan@REDACTED
Mon Jun 23 17:25:32 CEST 2014


Excellent!  Works.  Thanks v much.

Ivan


On 23/06/2014 15:55, Daniil Churikov wrote:
> You can always start remshell, even someone attached:
>
> 1. erl -name myremnode -setcookie samecookieas1stnode
> 2. press Ctrl + g (you can put single char 'h' to get help there)
> 3. User switch command
>   --> r 'mynodename@REDACTED'
>   --> c
> Eshell V5.10.4  (abort with ^G)
> (mynodename@REDACTED)1>
>
> if you don't have erlang installed on that machine you could always use
> thos, which packaged with release: `find rel_dir -type f -name erl`
>
>
> On Monday, June 23, 2014 5:13:25 PM UTC+4, Ivan Uemlianin wrote:
>
>     Dear All
>
>     I have an erlang release (packaged using rebar) running on a server.
>     After a bit of maintenance and stopping and starting, I notice I can't
>     attach to the running release:
>
>         $ ./bin/appnode attach
>         No running Erlang on pipe /tmp/path/to/erlang.pipe.123: No such
>     device or address
>
>     The pipe directory exists, containing files erlang.pipe.123.r and
>     erlang.pipe.123.w.  File permissions look ok.  I can ping the node.
>       The
>     release is running normally.
>
>     I have tried
>
>         $./erts-5.9.3.1/bin/to_erl /tmp/path/to/erlang.pipe.123
>
>     and that has the same result. (the version of erts is quite old).
>
>     I have googled around the interwebs.
>
>     Can anyone suggset some ideas for why this is happening and, mainly,
>     how
>     I can attach?
>
>     With thanks and best wishes
>
>     Ivan
>
>
>     --
>     ============================================================
>     Ivan A. Uemlianin PhD
>     Llaisdy
>     Speech Technology Research and Development
>
>     iv...@REDACTED <javascript:>
>     www.llaisdy.com <http://www.llaisdy.com>
>     llaisdy.wordpress.com <http://llaisdy.wordpress.com>
>     github.com/llaisdy <http://github.com/llaisdy>
>     www.linkedin.com/in/ivanuemlianin
>     <http://www.linkedin.com/in/ivanuemlianin>
>
>                               festina lente
>     ============================================================
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-q...@REDACTED <javascript:>
>     http://erlang.org/mailman/listinfo/erlang-questions
>     <http://erlang.org/mailman/listinfo/erlang-questions>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>

-- 
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

                     ivan@REDACTED
                      www.llaisdy.com
                          llaisdy.wordpress.com
               github.com/llaisdy
                      www.linkedin.com/in/ivanuemlianin

                         festina lente
============================================================



More information about the erlang-questions mailing list