0

我尝试在 EC2 机器上启动 tsung slaves。钥匙就位,测试用

erl -rsh ssh -sname root -setcookie mycookie
slave:start('i-d6807c9d',root,"-setcookie mycookie").
> {ok,'root@i-d6807c9d'}

正在工作中。

当我现在执行 tsung 时,我收到以下错误消息:no_rsh。Erlang 文档写道 no_rsh 的意思是“计算机上没有 rsh 程序”。

78 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
79     ts_config_server:(5:<0.52.0>) SYSINFO:Current path: /usr/lib/erlang/lib/tsung-1.4.2/ebin/tsung.beam
80 
81 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
82        ts_job_notify:(5:<0.64.0>) No listen port defined, can't open listening socket·
83 
84 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
85            ts_os_mon:(5:<0.49.0>) os_mon disabled
86 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
87               ts_mon:(5:<0.53.0>) Activate clients with text backend
88 
89 =INFO REPORT==== 18-Sep-2012::10:51:15 ===
90     ts_config_server:(0:<0.73.0>) Can't start newbeam on host 'i-d6807c9d' (reason: no_rsh) ! Aborting!

有谁知道如何让它运行?

谢谢

4

1 回答 1

0

我发现了错误。我使用 tsung 参数“-r”将远程连接器设置为此处提到的调试脚本:Tsung error: can't start newbeam on host

该脚本在 EC2 实例上不可用。在没有“-r”选项的情况下运行测试有效。

于 2012-09-18T09:20:53.750 回答