Exit code 255

Morning Guys
 on one of my 3PAR storage devices im getting errors which are stopping any data collection. Looks to be since i upgraded to Version 2.0

The 3par output file has -
Tue Jul 11 10:50:32 2017 INFO    : hp3parperf.pl : Process files [170711_104504].
/products/stor2rrd/bin/3par_stor_load.sh: 2017-07-11_10:50 : Command data_load.pl ends with return code 255
statcpu statvv statvlun statport statpd statcmp showcfg

The error log has -
Use of uninitialized value in string eq at /products/stor2rrd/bin/LoadDataModule.pm line 18615, <FH> line 306.
Use of uninitialized value in pattern match (m//) at /products/stor2rrd/bin/LoadDataModule.pm line 18627, <FH> line 306.
Use of uninitialized value in pattern match (m//) at /products/stor2rrd/bin/LoadDataModule.pm line 18628, <FH> line 306.
Use of uninitialized value in pattern match (m//) at /products/stor2rrd/bin/LoadDataModule.pm line 18629, <FH> line 306.
Use of uninitialized value in pattern match (m//) at /products/stor2rrd/bin/LoadDataModule.pm line 18630, <FH> line 306.
Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168, <FH> line 306.
ERROR: /products/stor2rrd/data/HAVP7404/DRIVE/45.20.rrd: found extra data on update argument: 1:5 at /products/stor2rrd/bin/LoadDataModule.pm line 18695

This is only happening on 1 of my 12 3PARs. When i access the CLI window i can run the above stat commands without any issues

Any ideas what im missing here ?

many thanks
Phil

Comments

  • Hi,

    send us the oldes file from this list (last one)
    ls -lt /products/stor2rrd/data/HAVP7404/HAVP7404*out

    https://upload.stor2rrd.com
    Note a problem description in the upload form.

  • thanks Pavel I have uploaded the latest file
    phil
  • Hi,


    We have fixed it.

    Try this fix:

    http://download.stor2rrd.com/patch/LoadDataModule.pm.gz
    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxr-xr-x 1 stor2rrd stor2rrd 852241 Jul 11 15:23 LoadDataModule.pm
    If your web browser gunzips it automatically then just rename it: mv LoadDataModule.pm.gz LoadDataModule.pm


    Wait about 15 minutes, then the error should disappear.

    Let us know.
  • Hi Lukas
     thanks for the great turnaround on this one however it doesnt seem to have resolved the issue at my end
    Error log file now says
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168, <FH> line 4531.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 19019
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 19204
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 19204
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 19204
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 19204
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 19204
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168.
    ERROR: could not lock RRD at /products/stor2rrd/bin/LoadDataModule.pm line 20297

    Output file
    Tue Jul 11 16:05:30 2017 INFO    : hp3parperf.pl : Process files [170711_160004].
    /products/stor2rrd/bin/3par_stor_load.sh: 2017-07-11_16:06 : Command data_load.pl ends with return code 255

    Do you need anymore files sent ?
    Thanks
    Phil
  • Hi,

    this error could happen when there is many files to processes, it is nothing wory about.
    You should see data in the GUI.
  • Hi Pavel
    It seems to have processed the files up that we held up to the point of the new DataLoadModulepm being added.
    It now says this in the error message and no recent data is visable in the gui
    error:
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168, <FH> line 4541.
    ERROR: /products/stor2rrd/data/HAVP7404/NODE/FC-node0.rrt: illegal attempt to update using time 1499781904 when last update time is 1499781904 (minimum one second step) at /products/stor2rrd/bin/LoadDataModule.pm line 19453
    Use of uninitialized value in string eq at /opt/freeware/lib/perl/5.8.8/RRDp.pm line 168, <FH> line 4541.
    ERROR: /products/stor2rrd/data/HAVP7404/HOST/HAVUT297.rrd: illegal attempt to update using time 1499784603 when last update time is 1499784603 (minimum one second step) at /products/stor2rrd/bin/LoadDataModule.pm line 19019

    thanks
    Phil

  • Hi,

    this is also should not be a problem.
    send us logs
    Note a short problem description in the text field of the upload form.
    
    cd /home/stor2rrd/stor2rrd          # or where is your STOR2RRD working dir
    find data -exec ls -ld {} \; > tmp/list_data.txt
    ps -ef |egrep "2rrd" >> tmp/list_data.txt
    tar cvhf logs.tar logs etc tmp/*txt *out 
    gzip -9 logs.tar
    
    Send us logs.tar.gz via https://upload.stor2rrd.com



  • All uploaded
    thanks again
    Phil
  • i can see last update Jul 15:31, for storage HAVP7404
    can you post a screenshot from the GUI?



  • Hi Pavel
     thanks for all your work with this one .. from about 17:00 last night the error log has stopped adding that 'ilegal attempt' message and now looks like the other 3pars which is great. I have checked the GUI and it looks like it has now caught up. Maybe that there was some data processing it needed to catchup with.
    Looks like the update to the PM file sorted it
    Great stuff
    Phil
Sign In or Register to comment.