Question

I have a running erlang application, launched with this command line

erl -boot start_sasl -config config/cfg_qa -detached -name peasy -cookie peasy -pa ./ebin -pa ./ebin/mochiweb -s peasy start

If I start a new node and run appmon:start(), the 'peasy' node won't show up, even if using the same cookie. The same happens with webtool:start()

Anyone?

Was it helpful?

Solution

Found.

As always with erlang, to have two nodes speak to each other, you need to ping:

1> net_adm:ping(other_node_you_want_to_monitor).
pong
2> appmon:start().
{ok,<0.48.0>}

And off you go :)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top