First i tried it the standard way with just poller.php (and crontab). But then i got the error:
Then i executed it from the command prompt, which resulted in:09/24/2007 09:29:55 AM - SYSTEM STATS: Time:293.0754 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
09/24/2007 09:29:55 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
That "sh: /rrdtool: No such file or directory" error is strange as well, because i did supply the correct path to it.[root@thor cacti]# php poller.php
09/24/2007 10:32:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/vhosts/<blackedout>/httpdocs/cacti/cmd.php 0 1]
sh: /rrdtool: No such file or directory
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
---etc etc etc for a 100 or so times---
09/24/2007 10:37:42 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
09/24/2007 10:37:42 AM - SYSTEM STATS: Time:292.4501 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
PHP Warning: pclose(): 56 is not a valid stream resource in /var/www/vhosts/<blackedout>/httpdocs/cacti/lib/rrd.php on line 47
Then i gave up on that one and tried cactid, but both the supplied binary as well as the source which i compiled myself gave the following error when executing poller.php:
Which is a very strange error, because it is located in the correct place:[root@thor cacti]# php poller.php
09/24/2007 10:41:24 AM - POLLER: Poller[0] ERROR: The path: /usr/bin/cactid is invalid. Can not continue
I have all required dependencies installed, and even some extras while i was testing. I have set all permissions correct. And i even reinstalled the whole thing 3 times, but it simply will not work.[root@thor cacti]# whereis cactid
cactid: /usr/bin/cactid /etc/cactid.conf
Any ideas what might be the cause? I run a Fedora Core5 system with Plesk as hosting control panel.