[Tsung] Can't start newbeam on host lindev2 (reason: timeout) ! Aborting!

Stegano Cipher stegano at gmail.com
Thu Oct 30 21:31:59 CET 2008


Hi All,


I am stuck with this error. Let me tell my investigations and configurations

1. dell8 is the master and lindev2 is the slave
2. both have each others no-password ssh keys, public keys in
.ssh/authorized_keys
3. lindev2 responds to "ssh lindev2 erl" starting an erlang shell
without prompting for password
4. dell8 responds to "ssh dell8 erl" starting an erlang shell without
prompting for password
5. both the machines ssh logs at /var/log/secure show the above ssh
sessions opened(when erl shell is started) and closed(when erl shell
is quit). Erlang shell works in both the cases.

So from the above its is proven the ssh access and erlang shell works
fine. But when it comes to Tsung and when I try the following command

[daya at dell8 load_testing]$ erl -rsh ssh -sname daya at dell8 -setcookie tsung
Erlang (BEAM) emulator version 5.6.4 [source] [smp:4]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.6.4  (abort with ^G)
(daya at dell8)1> slave:start(lindev2,daya,"-setcookie tsung").
{error,timeout}
(daya at dell8)2>

I get error timeout.

In my ssh logs at /var/log/secure I see

Oct 30 15:21:01 lindev2 sshd[25775]: Accepted publickey for daya from
10.10.10.28 port 39790 ssh2
Oct 30 15:21:01 lindev2 sshd[25775]: pam_unix(sshd:session): session
opened for user daya by (uid=0)
Oct 30 15:21:01 lindev2 sshd[25775]: pam_unix(sshd:session): session
closed for user daya

Please not that the ssh session opened and closed at the same time

When I run Tsung with the following command

tsung -f tsung.xml -r ssh -l ~/tmp/tsung.log start

The Tsung logs show the following

=INFO REPORT==== 30-Oct-2008::15:10:50 ===
    ts_config_server:(6:<0.49.0>) starting newbeam on host lindev2
from dell8 with Args " -rsh ssh -detached -setcookie
  tsung   -smp auto   +A 16 +P 250000  -boot
/usr/local/lib/erlang//lib/tsung-1.3.0/priv/tsung -boot_var TSUNGPATH
/usr
/local/lib/erlang/ -pa /usr/local/lib/erlang//lib/tsung-1.3.0/ebin -pa
/usr/local/lib/erlang//lib/tsung_controller-1.3.
0/ebin +K true  -tsung debug_level 7 -tsung dump none -tsung log_file
ts_encoded_47home_47daya_47tmp_4720081030_4519_58
10"

=INFO REPORT==== 30-Oct-2008::15:11:36 ===
    ts_config_server:(0:<0.63.0>) Can't start newbeam on host lindev2
(reason: timeout) ! Aborting!

=INFO REPORT==== 30-Oct-2008::15:11:36 ===
    ts_config_server:(0:<0.49.0>) Abort !


Please help me understand where I am going wrong.

thanks,
-daya


More information about the Tsung-users mailing list