🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

ERROR:This RRD was created on another architecture


ERROR:This RRD was created on another architecture


You will get this error during cpanel account transfer time or with cpanel package account script.

ERROR: This RRD was created on another architecture

 

If your old machine was 32bit arch with 32bit OS, and the new machine is 64bit with 64bit OS. then you can use rrddump and rrdrestore one can transfer RRD between architectures with ease.

To fix this issue do the following bash script

Method : 1

#!/bin/bash
cd /var/cpanel/bandwidth
for i in `/bin/ls ./*.rrd`
do

/usr/local/cpanel/3rdparty/bin/rrdtool dump $i > $i.xml

if [ -s "$i.xml" ]
then
echo "$i.xml have valid data."
/usr/local/cpanel/3rdparty/bin/rrdtool restore -f $i.xml $i

else
echo "$i.xml is empty. So not possible to restore"
rm -vf $i $i.xml
fi

done

Method : 2

To transfer an RRD between architectures, follow these steps:

1. On the same system where the RRD was created, use rrdtool dump to export the data to XML format.

# for i in ./*.rrd;do rrdtool dump $i ../rrd/$i.xml;done
(to converted all the files in rrd directory to XML format)

2. Transfer the XML dump to the target system.

3. Run rrdtool restore to create a new RRD from the XML dump.

# for i in ./*.xml; do rrdtool restore “$i” “../rrd/${i%.xml}”; done

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar


  • cPanel security settings checklist

    You always use cpanel recommended Security Settings to avoid hacking and other suspicious activity. These  cPanel Server Hardening & Security tips will help prevent from hacking. cPanel...

  • sendmail Not running with correct effective GID

    Wed Sep 04 04:11:11 2014] [error] [client 11.44.33.22] sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?, It may be the problem with your sendmail binary...

  • How to enable NAT behind the cpanel ?

    Most of webhosting providers currently used NAT service for their users. When you install cPanel & WHM, the installer will detect whether your server is on a NAT-configured network. If the...

  • Unable to allocate memory for pool

    Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0 APC or Alternative PHP Cache (APC) is a free and open opcode cache for PHP. APC allows for caching of opcode generated...

  • Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

    You can use the following tutorial to install ffmpeg and other video modules in your centos server. FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec...