moving and upgrading cacti installation

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fasy
Posts: 2
Joined: Wed Apr 27, 2005 8:15 am

moving and upgrading cacti installation

Post by fasy »

I try to move my well working cacti-installation 0.8.6h on SuSe-Linux 10 server to a newer RHEL5.5 Server and cacti 0.8.7g
Anything necassary is installed on the new server, I copied al rrd-files, the scripts, the logfiles and dumped the old mysql-db into the new system.

When I point my browser to the new installations, the login with my old password works and I can see the complete tree, but no graphs. Anything else seems to work.

The poller.php cronjob ends with the output "This script is only meant to run at the command line."
If I execute it on a commandline, there are these errormessages:

ERROR: This RRD was created on other architecture

Is there any way to migrate te old installation to a new server *and* see the graphs?

Thanks in advance!
fasy
luckenbach
Posts: 31
Joined: Thu May 07, 2009 9:21 am

Post by luckenbach »

RRD files are endian-specific, and thus if you move from one arch to another it will cause issues with them, you can do 1 of a few things

1) go back to the orginal machine and do an "rrdtool dump" and dump the rrds and then encode them on the new machine

2) install the "incorrect" architecture version of rrdtool on the new machine and then decoded them locally and then recode them with the new proper rrdtool.
fasy
Posts: 2
Joined: Wed Apr 27, 2005 8:15 am

Post by fasy »

Thanks a lot!
The dump/restore worked fine.
I didn't keep in mind that I changed from a 32 to a 64 bit system!

fasy
luckenbach
Posts: 31
Joined: Thu May 07, 2009 9:21 am

Post by luckenbach »

I had to do the same thing ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests