I got no errors while patching; so continued to import the pa.sql file and restarted mysql and apache. No cacti.
Reading that there may be problems with global.php in rpm distros, I followed instructions and replaced the file with the global.php bundled in the tarball. Restarted mysql and apache again - Still no cacti.
A couple of code pastes - note that cacti still doesn't work even after the second apparently successful run. I can't access cacti from a web browser at all - no console, nothing.
thanks in advance
Code: Select all
[root@misspiggy cacti-plugin-arch]# sudo -u cacti /usr/bin/php /usr/share/cacti/poller.php
PHP Warning: include(/usr/share/cacti/include/config.php): failed to open stream: Permission denied in /usr/share/cacti/include/global.php on line 45
PHP Warning: include(): Failed opening '/usr/share/cacti/include/config.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/include/global.php on line 45
FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
Code: Select all
[root@misspiggy cacti-plugin-arch]# sudo /usr/bin/php /usr/share/cacti/poller.php11/03/2011 05:40:13 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 1301 seconds have passed since the last poll!
OK u:0.00 s:0.01 r:2.01
OK u:0.00 s:0.01 r:2.01
OK u:0.00 s:0.01 r:2.01
OK u:0.00 s:0.01 r:2.01
OK u:0.01 s:0.01 r:2.01
OK u:0.01 s:0.01 r:2.01
OK u:0.01 s:0.01 r:2.01
OK u:0.01 s:0.01 r:2.01
11/03/2011 05:40:16 PM - SYSTEM STATS: Time:2.2783 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:14 RRDsProcessed:10
OK u:0.01 s:0.01 r:2.01
OK u:0.01 s:0.01 r:2.01