本帖会随问题积累而越变越肥....

1.ErLang编译出错

症状:

Erlang编译过程中出现报错:

 

checking for termcap functions library... configure

error: No curses/termcap library found

解决方法:

 yum install libtermcap-devel -y

校验结果:

 rpm -qa |grep termcap
--libtermcap-devel-2.0.8-46.1
--libtermcap-2.0.8-46.1
--libtermcap-devel-2.0.8-46.1
--termcap-5.5-1.20060701.1
--libtermcap-2.0.8-46.1

问题解决!!!

 

2.tsung-recorder 无法停止

症状:tsung-recoder 启动后主动停止时报错:

Error in process <0.39.0> on node 'killer@hostname' with exit value: {badarg,[{erlang,list_to_existing_atom,["ejabberd@localhost"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}

解决方法:

hostname -s 

观察服务器名,尽量别有符号,可以使用tsungooxx 这样.

hostname tsungooxx

vim /etc/hosts

添加hosts 127.0.0.1 tsungooxx

vim /ets/sysconfig/network

修改 HOSTNAME=tsungooxx

断开ssh链接或者重启tsung服务器.

校验结果:

tsung-recorder start

tsung-recorder stop

tsung-recorder start

tsung-recorder stop

好了 不会有报错了.

问题解决!!!