【问题标题】:Tsung: Can't start newbeam (reason: no_rsh)Tsung:无法启动newbeam(原因:no_rsh)
【发布时间】:2012-09-18 17:20:53
【问题描述】:

我尝试在 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!

有谁知道如何让它运行?

谢谢

【问题讨论】:

    标签: erlang tsung


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 2012-07-19
      • 2012-06-23
      • 1970-01-01
      • 2014-05-27
      • 1970-01-01
      • 2012-12-01
      • 2023-03-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多