Operating System: W2k3
Webserver: Apache 2.0.50
Cacti: 0.8.6h
Cactid: 0.8.6g
MySQL: 0.8.6h
PHP: 5.0.0
RRDTool: 1.2.9 (Cygwin version)
Net-SNMP: 5.2.2-ssl-1
Cygwin: none
I've gone through the windows install doc but I am having problems getting output from my poller.php to match what the doc says I should get. In fact I am getting no output from poller.php at all. I have to ctrl-C out everytime I run it from the command line. I ran filemon while running poller.php and I got the following output.
I also did a DEBUG when running poller and I get the following:
02/23/2006 03:52:33 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/Apache2/modules/php.exe, ARGS: -q c:/apache2/htdocs/cacti/cmd.php 0 5 ]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
.... [repeat]
Fatal error: Maximum execution time of 293 seconds exceeded in c:\Apache2\htdocs
\cacti\poller.php on line 243
I'm not sure if the buffer overflow is my problem or not. I only have one monitored device which is the win32 server that cacti is running on. Any help would be greatly appreciated.
-Mike
poller buffer overflow
Moderators: Developers, Moderators
Ignore the buffer overflows and invalid parameter errors in FileMon.
1) running php poller.php under an admin account work? If so, you have a permission problem. If not, then you have something else wrong.
2) Enable debugging logging for a polling cycle and post it. You have some things in your poller cache, right?
3) You using cmd.php or cactid.exe poller?
1) running php poller.php under an admin account work? If so, you have a permission problem. If not, then you have something else wrong.
2) Enable debugging logging for a polling cycle and post it. You have some things in your poller cache, right?
3) You using cmd.php or cactid.exe poller?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Could be that he is on Win2k << and running a graph command in excess of the 2048 character limit imposed by Win2k <<.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 2 guests