Problem installing plugin

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
elvovsky
Posts: 1
Joined: Fri Mar 11, 2011 4:22 pm

Problem installing plugin

Post by elvovsky »

I am having a problem when click on install button in the "Plugin Management". It does not seem to do do anything. Looking at apache logs i see this

[Fri Mar 11 16:27:50 2011] [error] [client 10.40.15.32] PHP Warning: include_once(/usr/share/cacti/site/plugins/gpsmap/includes/database.php): failed to open stream: Permission denied in /usr/share/cacti/site/plugins/gpsmap/setup.php on line 38, referer: http://10.40.15.35/cacti/plugins.php
[Fri Mar 11 16:27:50 2011] [error] [client 10.40.15.32] PHP Warning: include_once(): Failed opening '/usr/share/cacti/site/plugins/gpsmap/includes/database.php' for inclusion (include_path='.') in /usr/share/cacti/site/plugins/gpsmap/setup.php on line 38, referer: http://10.40.15.35/cacti/plugins.php
[Fri Mar 11 16:27:50 2011] [error] [client 10.40.15.32] PHP Fatal error: Call to undefined function gpsmap_setup_database() in /usr/share/cacti/site/plugins/gpsmap/setup.php on line 40, referer: http://10.40.15.35/cacti/plugins.php

Can someone help? XML directory has read/write
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem installing plugin

Post by TheWitness »

You do not have permission to open the gps maps file. You need to run a chmod so that apache user can access.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests