Graphs don't show after migration

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

Moderators: Developers, Moderators

Post Reply
helpmailinglist
Posts: 5
Joined: Thu Oct 22, 2009 3:20 pm

Graphs don't show after migration

Post by helpmailinglist »

Cacti was moved to a different box. Everything works fine except that the graphs are not being displayed at all.

-Cacti and the required packages reside in the same box.
-Cacti's version is the same on box boxes v 0.8.7e
-The db was dumped and restored using the following:
mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql
mysql -u root -p[root_password] [database_name] < dumpfilename.sql
-Config.php is the same on box boxes.
-rra, scripts, resource, and log directories were copied over to the new box.
-Permissions on the rra and log dirs and their files are set the same and the original box.
-Original box RRDTool 1.2.x
-New box was RRDTool 1.2.x in cacti, but then changed to RRDTool 1.3.x because the Technical Support page said that the new box is running v 1.3.x

Please see attachment. Thank you for reading.
Attachments
snapshot of graph
snapshot of graph
cactiGraph.jpg (13.86 KiB) Viewed 1757 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see e.g. /var/log/httpd/error_log.
Then, please see Graph Management, select a graph and switch to DEBUG mode. Post results
R.
helpmailinglist
Posts: 5
Joined: Thu Oct 22, 2009 3:20 pm

Post by helpmailinglist »

apache's error log:
ERROR: This RRD was created on another architecture

Graph Debug mode:
RRDTool Says:
ERROR: This RRD was created on another architecture

I'm thinking these errors are because the graphs were created using rrdtool v 1.2.x.
How can the graphs be converted from v 1.2.x to 1.3.x?

One more thing I forgot to write down on the original post. Original OS is 32bit and the new box is 64bit.

Thanks
helpmailinglist
Posts: 5
Joined: Thu Oct 22, 2009 3:20 pm

Post by helpmailinglist »

This issue has been solved.
Solution: Converting 32bit RRD to 64bit RRD.
http://slog.carlheaton.co.uk/index.php/ ... itectures/

One important note though: 32bit OS has the 128kb command line memory limitation. Using ls command on 4000+ rrd files will return "Argument list too long". So the fix is use the find command on the 32bit OS--find [path] -name "*.rrd" -exec rrdtool dump {} > \; {}.xml \;
The ls command in the 64bit OS works just fine in 4000+ files.

Thank you gandalf for helping out!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest