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

Ivan Uemlianin <>
Mon Jun 23 17:27:43 CEST 2014


Bingo.  Looks like this is exactly what happened.

Thanks both.  I can now attach and see why the app is running in this 
weird state.

Ivan


On 23/06/2014 16:08, Lukas Larsson wrote:
> Hello,
>
> Have you made sure that the run_erl program is still running?
>
>  > ps aux | grep run_erl
>
> This sort of problem would happen if run_erl for some reason exited
> without taking the erlang vm with it and not cleaning up the fifos.
> There should be a file called run_erl.log in the same directlory where
> the erlang log files are, maybe it contains some information about what
> has happened?
>
> Lukas
>
>
> On Mon, Jun 23, 2014 at 3:13 PM, Ivan Uemlianin <
> <mailto:>> 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
>
>      <mailto:>
>     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
>      <mailto:>
>     http://erlang.org/mailman/__listinfo/erlang-questions
>     <http://erlang.org/mailman/listinfo/erlang-questions>
>
>

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

                     
                      www.llaisdy.com
                          llaisdy.wordpress.com
               github.com/llaisdy
                      www.linkedin.com/in/ivanuemlianin

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



More information about the erlang-questions mailing list