Missing/Empty Graphs

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

Moderators: Developers, Moderators

Post Reply
davenpro
Posts: 6
Joined: Tue Dec 07, 2004 4:54 pm

Missing/Empty Graphs

Post by davenpro »

Howdy,

I've just setup Cacti for the first time and everything appears to be working with the exception of the graphs themselves. When I add graphs, they show up on the graph list and on the graph tree, however the images for them do not. Only the graph titles/labes are displayed. The itmes in the rra/ directory are being created, but not updated (the dates of the files do not change). The debugging tool for the graphs come up without any problems or errors. Additionally, when running poller.php manually I receive:

PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - Cannot open "./pcre.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './session.so' - Cannot open "./session.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './gettext.so' - Cannot open "./gettext.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './mysql.so' - Cannot open "./mysql.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './xml.so' - Cannot open "./xml.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './pcre.so' - Cannot open "./pcre.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './session.so' - Cannot open "./session.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './gettext.so' - Cannot open "./gettext.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './mysql.so' - Cannot open "./mysql.so" in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './xml.so' - Cannot open "./xml.so" in Unknown on line 0
OK u:0.00 s:0.00 r:1.00
12/07/2004 05:17:10 PM - SYSTEM STATS: Time: 1.0273 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2

Additionally I have the following error on the top of all of my cacti pages:
Notice: A session had already been started - ignoring session_start() in /usr/local/share/cacti/include/config.php on line 74

I'm running FreeBSD 4.10-RELEASE-p3, php 4.3.9, rrdtool 1.0.49, net-snmp 5.2, and apache 1.3.33. All of these packages have been built from FreeBSD's ports system (/usr/ports).

If anyone has any ideas why everything but the graph images work, or need any other details, please let me know. Help would be greatly appreciated!
Last edited by davenpro on Tue Dec 07, 2004 7:55 pm, edited 1 time in total.
davenpro
Posts: 6
Joined: Tue Dec 07, 2004 4:54 pm

Post by davenpro »

On closer examination, technically the images aren't "missing". The graph labels -are- the images, however there are no graphs present at all in any of the images. Also, the .rrd files in the rra/ directory are now properly updating when the poller is run every five minutes.

I still have no idea why I have no graphs in the images, only the titles. If anyone has any clues or insights, I'd greatly appreciate it.
davenpro
Posts: 6
Joined: Tue Dec 07, 2004 4:54 pm

Post by davenpro »

I've resolved the problem, but I'll post my solution here should someone run into something similar in the future.

The problem was with php4, as I had built it with a customized Makefile. Rebuilding php4 with the default settings in the Makefile (from /usr/ports/lang/php4) cleared the issue up. Kind of an ugly fix, but whatever works...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest