Cacti ERROR: SQL Assoc Failed!
Cacti Poller ERROR:
Cacti Graphs were not generated.
While checking the Cacti Log, it shows the following error.
#tail -f /var/www/html/log/cacti.log
Poller ERROR: SQL Assoc Failed!, Error:’1017′, SQL:”select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000″
Check your cacti database. This may be because of any table corruption.
While checking we found poller_output table was corruption.
Try repairing the corrupted table, if it was not successfully.
Then try Truncated that particular table through phpmyadmin and rebuild the poller cache through Cache Admin->System Utilities.
TRUNCATE `poller_output` ;
Your SQL query has been executed successfully
Due to low disk space in the database server, the table poller_output was corrupted in our case.