nggak bisa buat file rrd setelah ganti system

Bug #320593 reported by Mahyuddin Susanto
2
Affects Status Importance Assigned to Milestone
Sedot
Fix Released
Undecided
Unassigned

Bug Description

jadi ceritanya begini, system lama menggunakan arsitektur 32bit, kemudian system dipindah ke 64bit. entah kenapa waktu menjalankan collect-mirror-size terjadi error.
berikut log nya

ERROR: This RRD was created on another architecture
ERROR: This RRD was created on another architecture
ERROR: This RRD was created on another architecture
ERROR: This RRD was created on another architecture
ERROR: This RRD was created on another architecture
ERROR: This RRD was created on another architecture dan seterusnya...

# uname -a
Linux mirror 2.6.26-1-amd64 #1 SMP Mon Dec 15 17:25:36 UTC 2008 x86_64 GNU/Linux

Revision history for this message
Mahyuddin Susanto (udienz) wrote :

fix dengan panduan ini http://net.doit.wisc.edu/~plonka/list/flowscan/archive/1448.html

quote:
When you want to copy/move from one platform to another, you can use
"rrdtool dump" to convert them to a portable XML format, then "rrdtool
restore" to restore them to a binary format appropriate for the
localhost.

berikut scriptnya
#!/bin/bash

BASE=/home/sedot/mirror-size/

for i in `ls $BASE -all | grep .rrd | sed -e "s/.rrd/ /g" | cut -b 47-80`;
        do
        /usr/bin/rrdtool dump $BASE/$i.rrd > $BASE/$i.xml
 /bin/rm $BASE/$i.rrd
 /usr/bin/rrdtool restore -r -f $BASE/$i.xml $BASE/$i.rrd
        done
exit 0

Changed in sedot:
status: New → Fix Released
Revision history for this message
Fajran Iman Rusadi (fajran) wrote :

emang dari sononya begitu Pak.

Sbenernya si sedot nyimpen data mentahnya. Jadi bisa aja dibuat ulang dg data mentah tersebut.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.