No charts in FC9 after installing from yum

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

Moderators: Developers, Moderators

Post Reply
deconb
Posts: 2
Joined: Tue Aug 19, 2008 3:04 pm

No charts in FC9 after installing from yum

Post by deconb »

Hello there,

So I installed cacti from yum, I have all of the rrdt packages installed. I'm in fact using it with ntop so I know rrdt is working.

After doing the yum install, cacti is in /usr/share/cacti. I edited include/config.php to have the proper mysql info, I think that's working ok. I removed the <directory> directive from /etc/httpd/conf.d/cacti.conf since I am the only user even plugged into this machine (crossover).

I can visit httpd://ip/cacti and get the page, I log in just fine but when I go to graphs, all I see are the sections for the various graphs, no graphs them selves.

access_log shows this:
10.0.2.23 - - [19/Aug/2008:13:12:10 -0700] "GET /cacti/graph_image.php?local_graph_id=4&rra_id=0&view_type=tree&graph_start=1219090329&gra
ph_end=1219176729 HTTP/1.1" 200 1 "http://10.0.2.24/cacti/graph_view.php?a ... first=true" "Mozilla/5.0 (
Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1"
10.0.2.23 - - [19/Aug/2008:13:12:10 -0700] "GET /cacti/graph_image.php?local_graph_id=1&rra_id=0&view_type=tree&graph_start=1219090329&gra
ph_end=1219176729 HTTP/1.1" 200 1 "http://10.0.2.24/cacti/graph_view.php?a ... first=true" "Mozilla/5.0 (
Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1"

and error log shows this:
ERROR: I don't understand ':12:09 To 2008/08/19 13:12:09\c' in command: 'COMMENT:From 2008/08/18 13:12:09 To 2008/08/19 13:12:09\c'.
ERROR: opening '/usr/share/cacti/rra/localhost_load_1min_5.rrd': No such file or directory
ERROR: I don't understand ':12:09 To 2008/08/19 13:12:09\c' in command: 'COMMENT:From 2008/08/18 13:12:09 To 2008/08/19 13:12:09\c'.
ERROR: opening '/usr/share/cacti/rra/localhost_proc_7.rrd': No such file or directory
ERROR: I don't understand ':12:09 To 2008/08/19 13:12:09\c' in command: 'COMMENT:From 2008/08/18 13:12:09 To 2008/08/19 13:12:09\c'.
ERROR: opening '/usr/share/cacti/rra/localhost_mem_buffers_3.rrd': No such file or directory
ERROR: opening '/usr/share/cacti/rra/localhost_mem_swap_4.rrd': No such file or directory
ERROR: I don't understand ':12:09 To 2008/08/19 13:12:09\c' in command: 'COMMENT:From 2008/08/18 13:12:09 To 2008/08/19 13:12:09\c'.


I thought perhaps a permission error, so I chownd everything (-R) as apache:apache, problem did not go away.

I moved /usr/share/cacti to /tmp, tried it there as owned by both root:root and apache:apache (root:root is the default after installing from yum).

Any suggestions would be greatly appreciated and a solution will result in posting at fedoraforum.org so others will benefit :)


THANKS!
deconb
Posts: 2
Joined: Tue Aug 19, 2008 3:04 pm

Post by deconb »

no ideas? nothing?

I'm very sad, I was looking forward to running cacti!
an0key
Posts: 3
Joined: Sat Aug 23, 2008 4:55 am

Post by an0key »

Hmm I have also just installed on one of my FC9 servers, to have a play with cacti.

Also install via yum, however noticed this.

When you install via yum, it installs all the dependencies, naturally including rrdtool, it installed rrdtool-1.3.0-1.fc9.i386

When I go to my cacti System Utils, then select Tech Support, it errors, saying incorrect rrdtool version selected, however, the only options are 1.0.x or 1.2.x so I assume that the dependency has been updated, but the cacti gui/config/setup has not been to select/allow 1.3.x?

Anyone any ideas?
predragr
Posts: 1
Joined: Sat Aug 23, 2008 6:03 pm

Post by predragr »

For me, fix was to select version 1.2 which matches what was installed. Did not use yum though.
an0key
Posts: 3
Joined: Sat Aug 23, 2008 4:55 am

Post by an0key »

hmm to continue the story, some grapsh seem to work, interfaces do not. Cacti seems to make say 8.rrd but then has 9.rrd in the webpage, so naturally errors show file not existing...
josh_borke
Posts: 5
Joined: Fri Jul 22, 2005 3:01 pm

Post by josh_borke »

in regards to the original poster, I was having the same problem.

Setting cacti to use rrdtool 1.2.X I was able to get graphs all the time.

Hope this helps.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is a known problem. The cure is, as already mentioned, setting rrdtool utility version to rrdtool 1.2 manually.
The fix will be part of upcoming 087c
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest