Menu

#96 graph called at ./sysstats-lib.pl line 343

New_Module
closed
None
5
2025-01-03
2018-03-23
Anonymous
No

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.881 Date: Fri, 23 Mar 2018 04:02:46 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &RRDs::graph called at ./sysstats-lib.pl line 343.

Discussion

  • Anonymous

    Anonymous - 2018-03-23

    Linux 3.10.7-gentoo на x86_64

     
  • eric gerbier

    eric gerbier - 2018-03-23

    You can test if the rrdtool software is well installed with the attached perl code

     
  • eric gerbier

    eric gerbier - 2018-03-23
    • status: open --> pending
    • assigned_to: eric gerbier
     
  • Anonymous

    Anonymous - 2018-03-26

    Can't locate RRDs.pm in @INC (you may need to install the RRDs module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./test_rrd.pl line 5.
    BEGIN failed--compilation aborted at ./test_rrd.pl line 5.

     
  • Anonymous

    Anonymous - 2018-03-26

    Last post error, I started not on that server.

     
  • Anonymous

    Anonymous - 2018-03-26

    filename = test.rrd
    ds[toto].max = 200
    header_size = 584
    step = 1
    ds[toto].last_ds = 119
    ds[toto].type = DERIVE
    ds[toto].minimal_heartbeat = 100
    rra[0].rows = 120
    ds[toto].value = 0.910604448781424
    rra[0].pdp_per_row = 1
    rra[0].cf = AVERAGE
    last_update = 1522026617
    rra[0].xff = 0.5
    rrd_version = 0003
    rra[0].cur_row = 19
    Undefined subroutine &RRDs::graph called at ./test_rrd.pl line 55.

     
  • eric gerbier

    eric gerbier - 2018-04-29

    it is very strange ! I have never seen that : The perl module RRDS.pm is installed but does not contain all the code (not the graph function).
    the rrdtool project give the instructions to install on gentoo on https://oss.oetiker.ch/rrdtool/doc/rrdbuild.en.html

     
  • eric gerbier

    eric gerbier - 2025-01-03
    • status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel