rony wrote:Moved to Plugin Arch forum.
The SQL errors that are in the log seem to be an issue with Superlinks.
I have you tried disabling Superlinks?
Hi rony, I tried disabling SuperLinks, but I got these error messages:
Code: Select all
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT priority_id, priority FROM `cacti`.`syslog_priorities`"
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT facility_id, facility FROM `cacti`.`syslog_facilities`"
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT host_id, host FROM `cacti`.`syslog_hosts`"
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT count(*) FROM `cacti`.`syslog` WHERE logtime BETWEEN '2011-11-21 17:16' AND '2011-12-21 17:16'"
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT * FROM `cacti`.`syslog_hosts` ORDER BY host"
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT DISTINCT f.facility_id, f.facility FROM `cacti`.`syslog_host_facilities` AS fh INNER JOIN `cacti`.`syslog_facilities` AS f ON f.facility_id=fh.facility_id ORDER BY facility"
12/21/2011 05:16:54 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT *, 'main' AS mtype FROM `cacti`.`syslog` WHERE logtime BETWEEN '2011-11-21 17:16' AND '2011-12-21 17:16' ORDER BY logtime DESC LIMIT 0,30"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT priority_id, priority FROM `cacti`.`syslog_priorities`"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT facility_id, facility FROM `cacti`.`syslog_facilities`"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT host_id, host FROM `cacti`.`syslog_hosts`"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"SELECT count(*) FROM `cacti`.`syslog` WHERE logtime BETWEEN '2011-11-21 17:16' AND '2011-12-21 17:16'"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT * FROM `cacti`.`syslog_hosts` ORDER BY host"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT DISTINCT f.facility_id, f.facility FROM `cacti`.`syslog_host_facilities` AS fh INNER JOIN `cacti`.`syslog_facilities` AS f ON f.facility_id=fh.facility_id ORDER BY facility"
12/21/2011 05:16:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT *, 'main' AS mtype FROM `cacti`.`syslog` WHERE logtime BETWEEN '2011-11-21 17:16' AND '2011-12-21 17:16' ORDER BY logtime DESC LIMIT 0,30"
TheWitness wrote:It appears that your SuperLinks plugin is missing a column or two. What version are you running? Did you upgrade it?
I'm running the 1.4 version. I have upgraded from 0.7 version.