ive tried,
Adding the cacti user to the apache user and group.
ive delete the rra folder and readded it with permissions of 777 and root:cacti
I get the same error when i run the poller as root (??)
Code: Select all
[root@localhost ~]# /usr/bin/php /var/www/cacti/poller.php
09/19/2009 09:14:14 AM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '246', Max Runtime '298', Poller Runs: '1'
09/19/2009 09:14:14 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cacti/cmd.php" 0 0]
09/19/2009 09:14:14 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q "/var/www/cacti/cmd.php" 9 9]
Waiting on 1/2 pollers.
09/19/2009 09:14:16 AM - POLLER: Poller[0] Parsed MULTI output field '1min:0.00' [map 1min->load_1min]
09/19/2009 09:14:16 AM - POLLER: Poller[0] Parsed MULTI output field '5min:0.01' [map 5min->load_5min]
09/19/2009 09:14:16 AM - POLLER: Poller[0] Parsed MULTI output field '10min:0.00' [map 10min->load_15min]
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_users_62.rrd --template users N:2
ERROR: opening '/var/www/cacti/rra/servera_ucd_memavailreal_52.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memtotalreal_53.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memavailswap_54.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_memtotalswap_55.rrd': No such file or directory
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_load_15min_51.rrd --template load_1min:load_5min:load_15min N:0.00:0.01:0.00
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_load_15min_50.rrd --template load_15min N:0.00
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_load_1min_49.rrd --template load_1min N:0.00
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawuser_48.rrd --template ucd_ssCpuRawUser N:9570
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawsystem_47.rrd --template ucd_ssCpuRawSystem N:3566
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawnice_46.rrd --template ucd_ssCpuRawNice N:0
09/19/2009 09:14:16 AM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/cacti/rra/servera_ucd_sscpurawidle_45.rrd --template ucd_ssCpuRawIdle N:3581472
09/19/2009 09:14:16 AM - SYSTEM STATS: Time:1.3501 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:18 RRDsProcessed:18
ERROR: opening '/var/www/cacti/rra/servera_load_15min_51.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_load_15min_50.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_load_1min_49.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawuser_48.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawsystem_47.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawnice_46.rrd': No such file or directory
ERROR: opening '/var/www/cacti/rra/servera_ucd_sscpurawidle_45.rrd': No such file or directory
Loop Time is: 1.3541989326477
Sleep Time is: 298.63879704475
Total Time is: 1.361202955246
So i think that this may no longer be a permissions issue.
The strange thing is... when i enable debug within datasources... there is no command syntax at the bottom of the screen.....
Also the clear poller cache script comes back with the error...
Code: Select all
PHP Fatal error: Call to undefined function db_execute() in /var/www/cacti/rebuild_poller_cache.php on line 44
Which seems to me that my cacti is complete shoot..... if anyone has any ideas please let me know before i reinstall the whole thing....