Hi Ivan,
Running EUnit works. I am pretty sure the problem is somehow related
with the runner script generated by Rebar (which I haven't changed).
I tried both sudo and run. I forgot to mention that you must disable
fabric pty when starting the node through the runner script otherwise
the start call succeeds but no node (and also no logs) are generated.
Symptoms are difficult to describe. The resulting shell looks like that:
user@remote:~/test_project/rel/mynode/bin$ sudo ./mynode attach
Attaching to /tmp//home/user/test_project/rel/mynode/erlang.pipe.3 (^D to exit)
^R
So I won't get the normal Erlang shell prompt, I can run some Erlang
commands though, but I don't have any tab-completion.
Ctrl-D will properly exit, Ctrl-G is not giving me the User switch
command, Ctrl-C gives the proper Break menu.
Funny here, If I don't use sudo for the attach I get a "Node is not
running!" although the node was started without using sudo, but this
problem also appears if I start the node directly on the server
without going through SSH.
Cheers,
André