Errors on all plugins

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
bbortig
Posts: 6
Joined: Fri Apr 22, 2011 5:04 pm

Errors on all plugins

Post by bbortig »

hi to all,

i have installed cacti 0.8.7g on Centos 5.6 with Plugin Architecture Version: 2.8.
Now everything seems to be working ok but when I try to access my plugin tabs ( NPC, Thold, Discovery ) I get errors like :

The requested URL /cacti/plugins/npc/plugins/npc/npc.php was not found on this server.
The requested URL /cacti/plugins/thold/plugins/thold/thold_graph.php was not found on this server.
The requested URL /cacti/plugins/discovery/plugins/discovery/discover.php was not found on this server.

The apache logs show errors like:
File does not exist: /var/www/cacti/plugins/discovery/images/button_go.gif, referer: http://X.X.X.X/cacti/plugins/discovery/discover.php

Cacti is working fine an graphs are generated correctly. The issue seems to be relevant to the plugins. Some sort of configuration as if somehow the base directory is not recognized.

This is very frustrating and I can't solve it.

Any help will be appreciated.

bb
bbortig
Posts: 6
Joined: Fri Apr 22, 2011 5:04 pm

SOLVED Re: Errors on all plugins

Post by bbortig »

just had to apply patches!! :oops: :oops:
aking
Posts: 4
Joined: Mon Nov 15, 2010 2:06 pm

Re: Errors on all plugins

Post by aking »

Can you describe how you applied the patches? I've tried before and every time I run into errors.
roundcubeconsulting
Posts: 1
Joined: Tue May 03, 2011 6:19 pm

Re: Errors on all plugins

Post by roundcubeconsulting »

I have applied the latest patches successfully as suggested and I am still having the same issue as mentioned above. Any other suggestions?
asecure
Posts: 4
Joined: Mon Nov 09, 2009 4:22 am

Re: Errors on all plugins

Post by asecure »

I'm having the same error here too. Just set it up today and none of the plugins work.
Fresh install of 0.8.7g and PA 2.8

Thold, monitor, nectar, RRDclean, etc.
For those plugins with tabs, the tabs seem to point to /cacti/plugins/<plugin name>/plugins/<plugin name>/xxx.php

which doesn't exist so obviously we get an error.

/includes/config.php doesn't contain any links to point to the cacti base install directory in apache2

Code: Select all

*/

/* make sure these values refect your actual database/host/user/password */
$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";
$database_port = "3306";

/* Default session name - Session name must contain alpha characters */
#$cacti_session_name = "Cacti";

?>
patched the system but except for these two that fail, everything else patched OK.
graph_list_view.patch
html_output.patch
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Errors on all plugins

Post by phalek »

First of all, PIA 2.9 has been released quite a while ago: http://forums.cacti.net/viewtopic.php?f=19&t=40385

Second, you should try adding the following to your config.php file

Code: Select all

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/
$url_path = "/cacti/";
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
asecure
Posts: 4
Joined: Mon Nov 09, 2009 4:22 am

Re: Errors on all plugins

Post by asecure »

phalek wrote:First of all, PIA 2.9 has been released quite a while ago: http://forums.cacti.net/viewtopic.php?f=19&t=40385

Second, you should try adding the following to your config.php file

Code: Select all

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/
$url_path = "/cacti/";
Thanks Phalek,

That piece of code solved the issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests