Doubling storages

An array was added, two days later a second appeared, although I did not add it. How can I fix it?
https://imgur.com/a/5RgGb

Comments

  • Are you on Linux?
    There was a bug which caused double entries under storage items.
    If this is the case then upgrade to this version http://www.stor2rrd.com/download/stor2rrd-2.01-1.tar
    upgrade: http://www.stor2rrd.com/upgrade.htm?1.2.3



  • Yes, I'm using Linux. STOR2RRD updated. Thank you.
  • Снова дубликат появился.  https://imgur.com/a/KwthA
  • Again a duplicate appeared. https://imgur.com/a/KwthA
  • cd /home/stor2rrd/stor2rrd
    tail -1etc/version.txt
    ls -l tmp/menu.txt
    ls -l bin/install-st.sh


  • tail -1 etc/version.txt
    2.01-1
     ls -l tmp/menu.txt
    -rwxr-xrwx 1 stor2rrd stor2rrd 46044 Sep 29 00:00 tmp/menu.txt
    ls -l bin/install-st.sh
    -rwxr-xr-x 1 stor2rrd stor2rrd 68029 Sep 27 16:41 bin/install-st.sh
  • ok, it looks good.

    Pls this debug output yet.
    edit bin/install-st.sh and ucomment the second line:
    set +x

    then this output under stor2rrd user:
    ./load.sh html 2>&1 | tee x.log

    send us x.log https://upload.stor2rrd.com

    revert change in install-st.sh



  • Ok, I did, x.log sent 
  • I do not see anything wrong, it should not cause double entries.
    Pls this logs yet.

    Note a short problem description in the text field of the upload form.
    
    cd /home/stor2rrd/stor2rrd          # or where is your STOR2RRD working dir
    tar cvhf logs.tar logs etc tmp/*txt *out 
    gzip -9 logs.tar
    
    Send us logs.tar.gz via https://upload.stor2rrd.com

  • Ok, I did, logs and screenshot sent . Repeat command ./load.sh html 2>&1 | tee x.log and doubling storages was lost.
  • The problem was in duplicating records
    0 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
    # Hitachi HUS && AMS 2000 storage agent
    0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_husperf.sh > /home/stor2rrd/stor2rrd/load_husperf.out
    # STOR2RRD GUI
    0 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1

Sign In or Register to comment.