tsung生成报表时报错

[root@10-6-27-80 20141229-2327]# /usr/lib64/tsung/bin/tsung_stats.pl
Use of uninitialized value $version in pattern match (m//) at /usr/lib64/tsung/bin/tsung_stats.pl line 130.
warn, last interval (5) not equal to the first, use the first one (10)
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.
No data for Bosh
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.
No data for Match
No data for Event
No data for Async
No data for Errors
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.
Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.

上面是完整的报错,其实主要是这句

Error while running gnuplot: 对设备不适当的 ioctl 操作 at /usr/lib64/tsung/bin/tsung_stats.pl line 255.

也可能是这个样子的

Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/tsung/bin/tsung_stats.pl line 255.

在百度上找了一圈,没有一个靠谱的答案,FQ去谷歌,也没找到有用的信息。

首先判定肯定是gnuplot出的问题,但是很明显我的gnuplot已经安装。

最后尝试将自己make编译安装的gnuplot 版本卸载掉(定位到源码,然后执行make uninstall)然后使用centos自带的源安装后问题解决:

yum install gnuplot

 

文章来自:http://www.cnblogs.com/jrsun/p/4192675.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3