Graphs not being created in rra folder

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
SittingDuck
Posts: 9
Joined: Fri Jul 20, 2007 9:18 pm

Graphs not being created in rra folder

Post by SittingDuck »

OS: Windows 2003 SP2
Cacti Version: 0.8.6j
PHP: 5.2.3
Patch: Not Patched

I've read almost every post on the forum concerning graphs not updating, followed the installation instructions to a tee but am running into, what I think, is a unique probem with the poller.

When I run the poller manually with php -q d:/wwwroot/cacti/poller.php I get the following:
07/22/2007 12:19:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q d:/wwwroot/cacti/cmd.php 0 0]
07/22/2007 12:19:04 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q d:/wwwroot/cacti/cmd.php 10 10]
07/22/2007 12:19:05 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q d:/wwwroot/cacti/cmd.php 11 11]
Waiting on 3/3 pollers.
.
.
.
Waiting on 3/3 pollers.
Waiting on 3/3 pollers.
Waiting on 3/3 pollers.
07/22/2007 12:23:56 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
07/22/2007 12:23:56 PM - SYSTEM STATS: Time:292.7143 Method:cmd.php Processes:5 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:14 RRDsProcessed:0
The files are not being created in the rra directory. I've allowed Everyone Full Control over this directory and the logfile directoy, so I don't believe it's a permissions issue.

I have not patched this version because when I patched my previous try yesterday I was unable to get any SNMP data. I couldn't see any information on the main page of the device (Name, Uptime, etc). I was also getting strange behaviour where I had to refresh each page twice before it would give information.

I don't believe this is an SNMP issue because I can use GetIF to get all SNMP info that Cacti is attempting to poll. Also, the Device screen is being updated with uptime, hostname, location, contact, etc. There are no firewalls running on these servers, and again, GetIF works both locally and remotely on the device to gain the information.

If anyone can point me in the right direction it would be greatly appreciated.
Last edited by SittingDuck on Sun Jul 22, 2007 11:54 am, edited 1 time in total.
SittingDuck
Posts: 9
Joined: Fri Jul 20, 2007 9:18 pm

Attached Log

Post by SittingDuck »

Attached is the log with Debug on.
Attachments
Copy of cacti.zip
Cacti log
(3.66 KiB) Downloaded 109 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I just updated my installation guide yesterday, I suggest you take a read through it. I also strongly suggest you fully patch cacti.

Looking through the log file, I see you're experiencing an unpatched logic bug in cmd.php only present in Cacti 0.8.6j and PHP 5.2. Open cmd.php and go to line 49. Change it to:

Code: Select all

if (version_compare("5.2.0", PHP_VERSION, ">=")) {
SittingDuck
Posts: 9
Joined: Fri Jul 20, 2007 9:18 pm

Post by SittingDuck »

I'm hesitant to patch due to the bizarre issues I had before. However, the fix that you gave me worked! Thank you very much!

I'm going to let this run for a bit and patch it in a day or two. Again, thank you very very much!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest