Issue after upgrading PIA from 2.5 to 2.9

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

As the title says, upgraded PIA to v2.9 on Cacti 0.8.7g (Windows 2003 SP2)

When I click on the Plugin Management link I get a blank page and the following in the cacti log:

Code: Select all

03/31/2011 01:17:29 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE plugin_temp_table_29670 LIKE plugin_config'
I have checked the user permissions in mysql and they look correct.

Any ideas what I have done wrong?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by gandalf »

Is the table "plugin_config" available?
R.
cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

Yes, I can see it in MySQL Administrator.

However, it has 0 rows
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by gandalf »

cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

Sorry but that doesn't make a lot of sense to me - I know very little MySQL.

Do I need to drop the table and check to see if it gets recreated?
cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

Can anyone offer any assistance on this? I currently have no way of managing plugins :(
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by gandalf »

Please issue "DROP TABLE plugin_temp_table_29670" from mysql.
R.
cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

I get the following error:

Code: Select all

Unknown table 'plugin_temp_table_29670'
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by gandalf »

And what does "CREATE TEMPORARY TABLE plugin_temp_table_29670 LIKE plugin_config" return?
R.
cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

I get "Query returned no result" with the following error in the log when I go to the Plugin Management link:

CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE plugin_temp_table_27556 LIKE plugin_config'
cahonis
Cacti User
Posts: 123
Joined: Fri Jun 06, 2008 5:50 am

Re: Issue after upgrading PIA from 2.5 to 2.9

Post by cahonis »

Very strange.... just checked again and I can now see the PIA page.... it's a miracle :o

Last entry for the SQL error in the log was about 20 minutes before I checked the page, no changes have been made.... very weird.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests