Error in reporter CSV

Hello!
when I try to generate a csv report, I get an error

Error message follows:
Mon Aug  5 22:39:52 2019: ERROR stor2csv.pl: ERROR: No DS called 'sum_fmc' in '/home/lpar2rrd/stor2rrd/data/<>/POOL/2.rrd' at /home/lpar2rrd/stor2rrd/bin/stor2csv.pl line 2205. :
Mon Aug  5 22:39:52 2019: CSV was not created! "/home/lpar2rrd/stor2rrd/reports/admin/PoolPmzora04082019CSV/20190805_223952/<>.csv" : No such file or directory
Mon Aug  5 22:39:52 2019: zip failed:  :
Mon Aug  5 22:39:52 2019: Something wrong, zip file does not exists!/home/lpar2rrd/stor2rrd/bin/reporter.pl:1053 : No such file or directory

How can fix this problem?

Comments

  • Hi,


    When the problem persist we will debug it further.

  • edited August 6
    We upgraded to the specified version, but the problem remained.

    When i check rrd files in POOL folder, i can't find DS sum_fmc inside
  • Hi,

    Try this fix:

    https://download.stor2rrd.com/patch/stor2csv.pl.gz
    Gunzip it and copy to /home/lpar2rrd/stor2rrd/bin (755, lpar2rrd owner)
    -rwxr-xr-x 1 lpar2rrd lpar2rrd 91838  6. srp 10.04 stor2csv.pl
    If your web browser gunzips it automatically then just rename it: mv stor2csv.pl.gz stor2csv.pl

    after copy script to bin directory

    try to generate the report again

    Let us know if the fix helped.

    thank you

  • This solution fix problem with csv report.

    But we found that historical records are broken after upgrade to stor2rrd-2.52-23
    (i copy stor2rrd-cgi.sh from old version , but this workaround not fix problem)

     67 [Tue Aug 06 11:31:48.310254 2019] [cgi:error] [pid 24806] [client <>:23288] script not found or unable to stat: /home/lpar2rrd/stor2rrd/stor2rrd-cgi/stor2rrd-cgi.sh, referer: http://<>:80   ; 80/stor2rrd/?menu=6c60ef5&tab=0&form=
     68 [Tue Aug 06 11:35:36.187787 2019] [cgi:error] [pid 19948] [client <>:23450] End of script output before headers: stor2rrd-cgi.sh, referer: http://<>:8080/stor2rrd/?menu=6c60ef5&tab=0
     69 [Tue Aug 06 11:52:47.960958 2019] [mpm_prefork:notice] [pid 24274] AH00170: caught SIGWINCH, shutting down gracefully
     70 [Tue Aug 06 11:52:54.153173 2019] [suexec:notice] [pid 29032] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
     71 [Tue Aug 06 11:52:54.169974 2019] [auth_digest:notice] [pid 29032] AH01757: generating secret for digest authentication ...
     72 [Tue Aug 06 11:52:54.170644 2019] [lbmethod_heartbeat:notice] [pid 29032] AH02282: No slotmem from mod_heartmonitor
     73 [Tue Aug 06 11:52:54.174453 2019] [mpm_prefork:notice] [pid 29032] AH00163: Apache/2.4.6 (CentOS) mod_fcgid/2.3.9 configured -- resuming normal operations
     74 [Tue Aug 06 11:52:54.174490 2019] [core:notice] [pid 29032] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
     75 [Tue Aug 06 11:53:31.486567 2019] [cgi:error] [pid 29036] [client <>:24265] End of script output before headers: stor2rrd-cgi.sh, referer: http://<>:8080/stor2rrd/?menu=6c60ef5&tab=0


    thank you
  • Hi,

    please replace the old stor2rrd-cgi.sh script with a new one and describe where is the problem (screenshot)

    thank you
  • thank you!!
    problem resolve

Sign In or Register to comment.