Debugging inter-node spawning...

Harley Gorrell harley@REDACTED
Wed May 1 09:00:44 CEST 2002


   Humm... I know this must be covered somewhere but I cant
seem to find it in my book ('concurrent programming in
erlang') or on the web.  Spawning on the node works just
fine.  What should I look at to figure out what is wrong?

   Here is a summary of what I think should work, but does not.

Window1 ----------

$erl -sname echosvr
Erlang (BEAM) emulator version 5.0.2.4 [source]

Eshell V5.0.2.4  (abort with ^G)
(echosvr@REDACTED)1>

Window2 ----------

$erl -sname echoclient
Erlang (BEAM) emulator version 5.0.2.4 [source]

Eshell V5.0.2.4  (abort with ^G)
(foo1@REDACTED)1> nodes().
[]
(foo1@REDACTED)2> spawn(echosvr,io,format,["echo"]).
<0.36.0>

=ERROR REPORT==== 30-Apr-2002::23:38:44 ===
** Can not start io:format,[[101,99,104,111]] on echosvr **
(foo1@REDACTED)3> spawn_link(io,format,["echo"]).
echo<0.38.0>

--------------------

So what have I missed?,
harley.




More information about the erlang-questions mailing list