I used PHPmyadmin to export the database, and then used the Windows Installer to install Cacti on the new server (Windows Server 2003). I re-imported the database and copied over the RRA's and plugins.
It appears like Cacti is working properly, in that graphs display and correct values are being shown, including for my Weathermap.
However, when trying to add new data sources, or even new graphs using the "SNMP - Interface Statistics" under "Associated Data Queries", I get many errors in the log. These error occur when I either view a graph, or click "reload data query":
Code: Select all
01/22/2009 11:29:09 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select snmp_index from host_snmp_cache where host_id=6 and snmp_query_id=1 group by snmp_index"
01/22/2009 11:29:09 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select snmp_index from host_snmp_cache where host_id=6 and snmp_query_id=1"
01/22/2009 11:29:09 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"select snmp_index from host_snmp_cache where host_id=6 and snmp_query_id=9 group by snmp_index"
I have made sure file permissions are correct. I have tried running the repair_database.php file, and rebuilding the poller cache.
Any suggestions?