Poller[0] ERROR: SQL Assoc Failed!, Error:'1017' | Cacti

ERROR: SQL Assoc Failed!


Error:
Cacti Graphs were not generated.
Then I checked the Cacti Log, and it shows the following error.
#tail -f /var/www/html/log/cacti.log


Error Log:
Poller[0] 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"


Then I found that the poller_output table was corrupted




Solution:
Then I tried to repair the corrupted table, but it was not repaired successfully. So I 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 for me.







 



FOLLOW US :-    
   





1 comments :

  1. Thanks mate, had the same happening to me. Your easy to follow tip just saved my cacti setup.

    ReplyDelete