Unable to load plugins (Cacti 0.8.7g & PA 2.8)
Moderators: Developers, Moderators
Unable to load plugins (Cacti 0.8.7g & PA 2.8)
Hi,
I've just recently upgraded from cacti 0.8.7e to 0.8.7g and have installed Plugin Architecture for the first time.
I installed PA by replacing each file from the PA archive, updated my config.php from the .dist file & imported the pa.sql into the cacti database.
Cacti is working great, however I am unable to get the plugins to work. I have added each plugin to the config.php file as the instructions say, however the plugins do not appear to load. Plugin management is enabled for my admin user and is accessible, however no installed plugins are shown on this page.
The only plugin I have been able to get working the updates plugin from cactiusers.org. In addition to the normal install this also required importing an sql file into the cacti db. This plugin appears to be working correctly as it shows up under Plugin Management and also adds a Realm permissions option and Updates menu item.
Is there something I may have missed when installing/configuring the plugins?
Thank you in advance for any help!
Regards,
Jeremy
I've just recently upgraded from cacti 0.8.7e to 0.8.7g and have installed Plugin Architecture for the first time.
I installed PA by replacing each file from the PA archive, updated my config.php from the .dist file & imported the pa.sql into the cacti database.
Cacti is working great, however I am unable to get the plugins to work. I have added each plugin to the config.php file as the instructions say, however the plugins do not appear to load. Plugin management is enabled for my admin user and is accessible, however no installed plugins are shown on this page.
The only plugin I have been able to get working the updates plugin from cactiusers.org. In addition to the normal install this also required importing an sql file into the cacti db. This plugin appears to be working correctly as it shows up under Plugin Management and also adds a Realm permissions option and Updates menu item.
Is there something I may have missed when installing/configuring the plugins?
Thank you in advance for any help!
Regards,
Jeremy
-
- Posts: 15
- Joined: Thu Jan 21, 2010 3:11 am
Hi all,
I still unable load plugin with PIA 2.8.
These are my permission:
drwxr-xr-x 8 apache apache 4096 Aug 12 09:55 plugins
-rwxr-xr-x 1 apache apache 25848 Jun 28 09:20 plugins.php
-rwxr-xr-x 1 root apache 4306 Feb 12 2008 poller_commands.php
-rwxr-xr-x 1 root apache 2243 Feb 12 2008 poller_export.php
-rwxr-xr-x 1 root apache 17909 Jun 5 21:45 poller.php
-rwxr-xr-x 1 root apache 71 Feb 12 2008 README
drwxr-xr-x 5 root apache 4096 Feb 12 2008 resource
drwxr-xr-x 2 root apache 278528 Aug 9 14:40 rra
-rwxr-xr-x 1 root apache 7084 Feb 12 2008 rra.php
drwxr-xr-x 2 root apache 4096 Feb 12 2008 scripts
-rwxr-xr-x 1 root apache 7304 Feb 12 2008 script_server.php
-rwxr-xr-x 1 root apache 353 Feb 12 2008 script_server.pl
-rwxr-xr-x 1 root apache 4996 Feb 12 2008 settings.php
-rwxr-xr-x 1 root apache 6667 Feb 12 2008 templates_export.php
-rwxr-xr-x 1 root apache 6524 Feb 12 2008 templates_import.php
-rwxr-xr-x 1 root apache 17835 Feb 12 2008 tree.php
-rwxr-xr-x 1 root apache 44603 Jul 8 11:34 user_admin.php
-rwxr-xr-x 1 root apache 64999 Jul 10 05:31 utilities.php
And what is www-data?
R
I still unable load plugin with PIA 2.8.
These are my permission:
drwxr-xr-x 8 apache apache 4096 Aug 12 09:55 plugins
-rwxr-xr-x 1 apache apache 25848 Jun 28 09:20 plugins.php
-rwxr-xr-x 1 root apache 4306 Feb 12 2008 poller_commands.php
-rwxr-xr-x 1 root apache 2243 Feb 12 2008 poller_export.php
-rwxr-xr-x 1 root apache 17909 Jun 5 21:45 poller.php
-rwxr-xr-x 1 root apache 71 Feb 12 2008 README
drwxr-xr-x 5 root apache 4096 Feb 12 2008 resource
drwxr-xr-x 2 root apache 278528 Aug 9 14:40 rra
-rwxr-xr-x 1 root apache 7084 Feb 12 2008 rra.php
drwxr-xr-x 2 root apache 4096 Feb 12 2008 scripts
-rwxr-xr-x 1 root apache 7304 Feb 12 2008 script_server.php
-rwxr-xr-x 1 root apache 353 Feb 12 2008 script_server.pl
-rwxr-xr-x 1 root apache 4996 Feb 12 2008 settings.php
-rwxr-xr-x 1 root apache 6667 Feb 12 2008 templates_export.php
-rwxr-xr-x 1 root apache 6524 Feb 12 2008 templates_import.php
-rwxr-xr-x 1 root apache 17835 Feb 12 2008 tree.php
-rwxr-xr-x 1 root apache 44603 Jul 8 11:34 user_admin.php
-rwxr-xr-x 1 root apache 64999 Jul 10 05:31 utilities.php
What should I do?goita666 wrote: Check ownership and permissions of the plugins directories. or even better chown -R www-data:www-data /var/www/
And what is www-data?
R
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
www-data is a Linux distrib dependent user. Please test the PIA 2.9beta.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 15
- Joined: Thu Jan 21, 2010 3:11 am
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Permissions more than likely.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 15
- Joined: Thu Jan 21, 2010 3:11 am
Hi TheWitness,
These are my permission:
drwxr-xr-x 8 root root 4096 Aug 13 04:06 plugins
-rwxr-xr-x 1 root root 26368 Aug 2 05:02 plugins.php
-rw-r--r-- 1 root root 27184 Aug 13 04:06 plugins.php.rej
-rwxr-xr-x 1 root root 4306 Aug 13 04:06 poller_commands.php
-rwxr-xr-x 1 root root 2243 Aug 13 04:06 poller_export.php
-rwxr-xr-x 1 root root 17806 Aug 3 08:53 poller.php
-rw-r--r-- 1 root root 2442 Aug 13 04:06 poller.php.rej
-rwxr-xr-x 1 root root 1218 Aug 13 04:06 README
drwxr-xr-x 5 root root 4096 Aug 13 04:06 resource
drwxr-xr-x 2 root root 421888 Aug 13 04:08 rra
-rwxr-xr-x 1 root root 7084 Aug 13 04:08 rra.php
drwxr-xr-x 2 root root 4096 Aug 13 04:08 scripts
-rwxr-xr-x 1 root root 7304 Aug 13 04:08 script_server.php
-rwxr-xr-x 1 root root 353 Aug 13 04:08 script_server.pl
-rwxr-xr-x 1 root root 4996 Aug 13 04:08 settings.php
-rwxr-xr-x 1 root root 6667 Aug 13 04:08 templates_export.php
-rwxr-xr-x 1 root root 6524 Aug 13 04:08 templates_import.php
-rwxr-xr-x 1 root root 17835 Aug 13 04:08 tree.php
-rwxr-xr-x 1 root root 44603 Aug 2 05:02 user_admin.php
-rw-r--r-- 1 root root 2500 Aug 13 04:08 user_admin.php.rej
-rwxr-xr-x 1 root root 64999 Aug 2 05:02 utilities.php
-rw-r--r-- 1 root root 733 Aug 13 04:08 utilities.php.rej
But still unable load plugin.
The strange in here is when I re-edit config.php it influences the plugin.
$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'tools';
$plugins[] = 'monitor';
$plugins[] = 'thold';
$plugins[] = 'hostinfo';
$plugins[] = 'rrdclean';
Where do I misconfigure?
Thanks
These are my permission:
drwxr-xr-x 8 root root 4096 Aug 13 04:06 plugins
-rwxr-xr-x 1 root root 26368 Aug 2 05:02 plugins.php
-rw-r--r-- 1 root root 27184 Aug 13 04:06 plugins.php.rej
-rwxr-xr-x 1 root root 4306 Aug 13 04:06 poller_commands.php
-rwxr-xr-x 1 root root 2243 Aug 13 04:06 poller_export.php
-rwxr-xr-x 1 root root 17806 Aug 3 08:53 poller.php
-rw-r--r-- 1 root root 2442 Aug 13 04:06 poller.php.rej
-rwxr-xr-x 1 root root 1218 Aug 13 04:06 README
drwxr-xr-x 5 root root 4096 Aug 13 04:06 resource
drwxr-xr-x 2 root root 421888 Aug 13 04:08 rra
-rwxr-xr-x 1 root root 7084 Aug 13 04:08 rra.php
drwxr-xr-x 2 root root 4096 Aug 13 04:08 scripts
-rwxr-xr-x 1 root root 7304 Aug 13 04:08 script_server.php
-rwxr-xr-x 1 root root 353 Aug 13 04:08 script_server.pl
-rwxr-xr-x 1 root root 4996 Aug 13 04:08 settings.php
-rwxr-xr-x 1 root root 6667 Aug 13 04:08 templates_export.php
-rwxr-xr-x 1 root root 6524 Aug 13 04:08 templates_import.php
-rwxr-xr-x 1 root root 17835 Aug 13 04:08 tree.php
-rwxr-xr-x 1 root root 44603 Aug 2 05:02 user_admin.php
-rw-r--r-- 1 root root 2500 Aug 13 04:08 user_admin.php.rej
-rwxr-xr-x 1 root root 64999 Aug 2 05:02 utilities.php
-rw-r--r-- 1 root root 733 Aug 13 04:08 utilities.php.rej
But still unable load plugin.
The strange in here is when I re-edit config.php it influences the plugin.
$plugins = array();
$plugins[] = 'settings';
$plugins[] = 'tools';
$plugins[] = 'monitor';
$plugins[] = 'thold';
$plugins[] = 'hostinfo';
$plugins[] = 'rrdclean';
Where do I misconfigure?
Thanks
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
1) You did not show me the permissions under the plugins directory.
2) You do not configure the plugins array in PIA 2.8++
TheWitness
2) You do not configure the plugins array in PIA 2.8++
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 15
- Joined: Thu Jan 21, 2010 3:11 am
1) These are the permissions under the plugins directory:
drwxr-xr-x 2 root apache 4096 Aug 10 16:05 hostinfo
-rwxr-xr-x 1 root apache 44 Jun 5 21:45 index.php
-rw-r--r-- 1 root apache 94 Aug 12 11:13 index.php.rej
drwxr-xr-x 4 root apache 4096 Aug 10 10:59 monitor
drwxrwxr-x 2 root apache 4096 Jun 7 22:44 rrdclean
-rw-r--r-- 1 root apache 17098 Jul 13 02:05 rrdclean-v0.40.tgz
drwxr-xr-x 3 root apache 4096 Apr 15 15:24 settings
drwxr-xr-x 5 root apache 4096 Aug 10 11:07 thold
drwxr-xr-x 2 root apache 4096 Aug 10 15:11 tools
2)You do not configure the plugins array in PIA 2.8++? I'm sorry, I don't understand. Can you explain it?
Thanks in advance
drwxr-xr-x 2 root apache 4096 Aug 10 16:05 hostinfo
-rwxr-xr-x 1 root apache 44 Jun 5 21:45 index.php
-rw-r--r-- 1 root apache 94 Aug 12 11:13 index.php.rej
drwxr-xr-x 4 root apache 4096 Aug 10 10:59 monitor
drwxrwxr-x 2 root apache 4096 Jun 7 22:44 rrdclean
-rw-r--r-- 1 root apache 17098 Jul 13 02:05 rrdclean-v0.40.tgz
drwxr-xr-x 3 root apache 4096 Apr 15 15:24 settings
drwxr-xr-x 5 root apache 4096 Aug 10 11:07 thold
drwxr-xr-x 2 root apache 4096 Aug 10 15:11 tools
2)You do not configure the plugins array in PIA 2.8++? I'm sorry, I don't understand. Can you explain it?
Thanks in advance
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Have your sourced the pa.sql file? What is in your Cacti log? What experience do you have with Plugins? Is this a new system?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 15
- Joined: Thu Jan 21, 2010 3:11 am
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
E-mail was/is broken. Did you figure this out?
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 5 guests