{"id":113,"date":"2017-10-11T08:43:00","date_gmt":"2017-10-11T08:43:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/poller0-error-sql-assoc-failed"},"modified":"2017-10-11T09:48:25","modified_gmt":"2017-10-11T09:48:25","slug":"poller0-error-sql-assoc-failed","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/cacti\/poller0-error-sql-assoc-failed","title":{"rendered":"Poller[0] ERROR: SQL Assoc Failed!, Error:&#8217;1017&#8242; &#8211; Cacti"},"content":{"rendered":"<p>Cacti ERROR: SQL Assoc Failed!<\/p>\n<h3><b><u>Cacti Poller[0] ERROR:<\/u><\/b><\/h3>\n<p>Cacti Graphs were not generated.<br \/>\nWhile checking the Cacti Log, it shows the following error.<\/p>\n<p><strong> #tail -f \/var\/www\/html\/log\/cacti.log<\/strong><\/p>\n<p><b><u>Error Log:<\/u><\/b><\/p>\n<p>Poller[0] ERROR: SQL Assoc Failed!, Error:&#8217;1017&#8242;, SQL:&#8221;select\u00a0 poller_output.output,\u00a0 poller_output.time,\u00a0 poller_output.local_data_id,\u00a0 poller_item.rrd_path,\u00a0 poller_item.rrd_name,\u00a0 poller_item.rrd_num\u00a0 from (poller_output,poller_item)\u00a0 where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name)\u00a0 LIMIT 10000&#8243;<br \/>\n<b><br \/>\n<\/b><br \/>\nCheck your cacti database. This may be because of any table corruption.<\/p>\n<p>While checking we found\u00a0 <strong>poller_output<\/strong> table was corruption.<br \/>\n<b><br \/>\n<\/b><\/p>\n<p>&nbsp;<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><b><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.melberi.com\/linuxadmin\/wp-content\/uploads\/sites\/3\/2011\/09\/Error-SQL-Assoc-Failed-poller_output.jpg\" alt=\"\" width=\"320\" height=\"55\" border=\"0\" \/><\/b><\/div>\n<h3><b><br \/>\n<\/b><br \/>\n<b><u>Solution:<\/u><\/b><\/h3>\n<p>Try repairing the corrupted table, if it was not successfully.<\/p>\n<p>Then try Truncated that particular table through phpmyadmin and rebuild the poller cache through Cache <strong>Admin-&gt;System Utilities.<\/strong><b><br \/>\n<\/b><br \/>\n<strong> TRUNCATE `poller_output` ;<\/strong><br \/>\nYour SQL query has been executed successfully<\/p>\n<p>Due to low disk space in the database server, the table poller_output was corrupted in our case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cacti ERROR: SQL Assoc Failed! Cacti Poller[0] ERROR: Cacti Graphs were not generated. While checking the Cacti Log, it shows the following error. #tail -f \/var\/www\/html\/log\/cacti.log Error Log: Poller[0] ERROR:&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/cacti\/poller0-error-sql-assoc-failed\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":288,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[135],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/113"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":704,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/113\/revisions\/704"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media\/288"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}