WordPress Developer & Linux Administrator

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:

cd /var/cpanel/bandwidth
for i in `/bin/ls ./*.rrd`
    /usr/local/cpanel/3rdparty/bin/rrdtool dump $i > $i.xml

    if [ -s "$i.xml" ]
        echo "$i.xml have valid data."
        /usr/local/cpanel/3rdparty/bin/rrdtool restore -f $i.xml $i
        echo "$i.xml is empty. So not possible to restore"
        rm -vf $i $i.xml
Categories: Bash, Commands, cPanel


Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.