[Tsung] problems getting controller to start slave on remote box

Nicolas Niclausse nicolas at niclux.org
Fri Nov 9 11:27:15 CET 2007


Paul Galynin ecrivait le 09.11.2007 11:12:
> On Nov 8, 2007 4:17 AM, Nicolas Niclausse <nicolas at niclux.org> wrote:

> this example is unclear, because it implies entering the {ok.. as
> well. i've now understoof the example and here's the output:

ok, I'll update the manual to make it clearer

> [root at load2 ~]# erl -rsh ssh -sname foo -setcookie mycookie
> Erlang (BEAM) emulator version 5.5.5 [source] [async-threads:0] [hipe]
> [kernel-poll:false]
> 
> Eshell V5.5.5  (abort with ^G)
> (foo at load2)1> slave:start(load1,bar,"-setcookie mycookie").
> {error,timeout}
> 
> where do i go from here?

And "ssh load1 erl -sname -s init stop" is running ok ?

(you should see something like "Eshell V5.5.5  (abort with ^G)" )

If yes, it may be a firewall problem:

erlang is using several ports to communicate , do you have a firewall
(iptables?) started on one of the two machines ?

-- 
Nicolas


More information about the Tsung-users mailing list