Plugin Architecture Version: 2.9

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
GeoStigma
Posts: 1
Joined: Thu Jan 10, 2008 4:19 pm

Plugin Architecture Version: 2.9

Post by GeoStigma »

Guys I search the forums & not find anything similar to the below, basically after installing PIA v2.9 & browse to the PIA Management page https://localhost/graphs/plugins.php I receive the below message.

Plugin Management (Cacti Version: 0.8.7g, Plugin Architecture Version: 2.9)

FATAL: Database or Table does not exist

Can anyone point me in the right direction I checked & double check and the tables are there in the Cacti database.

Another issue I have is under user management lets say I select the user admin & then graphs permission the add graph, add hosts, add graph template & add tree drop box are empty, any ideas on why this is happening.

Regards,
GeoStigma

I'm also seeing the below in the cacti.log.

CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_output' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_output' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
05/06/2011 09:47:34 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_on_demand' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_on_demand' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
05/06/2011 09:47:34 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_output' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_output' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
05/06/2011 09:47:34 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_on_demand' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_on_demand' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
05/06/2011 09:47:34 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT 1 AS id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_output' AND ph.name IN ('settings', 'boost', 'dsstats') UNION SELECT pc.id, ph.name, ph.file, ph.function FROM plugin_hooks AS ph LEFT JOIN plugin_config AS pc ON pc.directory=ph.name WHERE ph.status = 1 AND hook = 'poller_output' AND ph.name NOT IN ('settings', 'boost', 'dsstats') ORDER BY id ASC"
05/06/2011 09:47:34 AM - CMDPHP:

cat pa.sql | grep "CREATE TABLE" | cut -d" " -f1,2,3

CREATE TABLE `plugin_config`
CREATE TABLE `plugin_hooks`
CREATE TABLE `plugin_realms`
CREATE TABLE `plugin_db_changes`
Syngress
Posts: 26
Joined: Tue Apr 24, 2007 9:17 am

Re: Plugin Architecture Version: 2.9

Post by Syngress »

I to am having this problem with the FATAL : Database or Table does not exist

This was after upgrading Cacti to 0.87g (from 0.87e) and PIA from 2.1

I have checked the tables are in mysql....Not sure what else to look at

Thanks,

Mike
Syngress
Posts: 26
Joined: Tue Apr 24, 2007 9:17 am

Re: Plugin Architecture Version: 2.9

Post by Syngress »

I fixed my issue, it was due to my mysql cactiuser not having privs to create a tempory table!!

Mike
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests