Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't exec "gnuplot": No such file or directory at /usr/local/lib/tsung/bin/tsung_stats.pl line 129 #138

Closed
nntoan1991 opened this issue Nov 18, 2015 · 2 comments

Comments

@nntoan1991
Copy link

Hi all,

I have successfully installed Erlang(otp_src_18.1) and Tsung(tsung-1.6.0).on Linux(Centos)
Creating a XML basic.file:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE tsung SYSTEM "/usr/local/share/tsung/tsung-1.0.dtd" []>
<tsung loglevel="warning">
<clients>
    <client host="localhost" cpu="2" maxusers="800"/>
  </clients>
  <servers>
    <server host="tuoitrenews.vn" port="80" type="tcp"></server>
  </servers>
  <load>
    <arrivalphase phase="1" duration="1" unit="minute">
      <users arrivalrate="5" unit="second"/>
    </arrivalphase>
  </load>
  <sessions>
    <session name="http://tuoitrenews.vn/" probability="100" weight="1" type="ts_http">
      <request><http url="/charity" method="GET"></http></request>
    </session>
  </sessions>
</tsung>

Running the tsung is: tsung -f basic.xml start

Tsung finish running, I genearate a report using:
/usr/local/lib/tsung/bin/tsung_stats.pl --stats /root/.tsung/log/20151118-1510/tsung.log

It show error:

Can't exec "gnuplot": No such file or directory at /usr/local/lib/tsung/bin/tsung_stats.pl line 129.**
Use of uninitialized value $version in pattern match (m//) at /usr/local/lib/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: Inappropriate ioctl for device at /usr/local/lib/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.
No data for Bosh
Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/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.
No data for Match
No data for Event
No data for Async
Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/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.
Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/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.
Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/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.
Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/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.
Error while running gnuplot: Inappropriate ioctl for device at /usr/local/lib/tsung/bin/tsung_stats.pl line 255.

Please help me, how to fix error and I can generate a report

@nniclausse
Copy link
Contributor

You need to install gnuplot (yum install gnuplot)

@nntoan1991
Copy link
Author

thank so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants