PA on cacti 0.8.7.e

Support for the Plugin Architecture

Moderators: Moderators, Developers

Post Reply
Author
Message
Alkel
Posts: 2
Joined: Fri Jul 31, 2009 10:16 am

PA on cacti 0.8.7.e

#1 Post by Alkel » Fri Jul 31, 2009 10:24 am

Hello,

I have some problem with PA on cacti 0.8.7.e
Its not the first time i install PA with cacti, but its the first with this version.
I tired with the 2 methods, patch file or pre patched files and the result is the same: a broken cacti.
When i log in cacti, all the links seems broken and the images dont display at all, like if the files dont exist.
My cacti is in /var/www/cacti
and here is my apache2 error log:

[Fri Jul 31 17:14:36 2009] [error] [client 192.168.5.3] File does not exist: /var/www/images, referer: http://192.168.4.11/cacti/
[Fri Jul 31 17:14:36 2009] [error] [client 192.168.5.3] File does not exist: /var/www/images, referer: http://192.168.4.11/cacti/
[Fri Jul 31 17:14:36 2009] [error] [client 192.168.5.3] File does not exist: /var/www/images, referer: http://192.168.4.11/cacti/
[Fri Jul 31 17:14:38 2009] [error] [client 192.168.5.3] script '/var/www/host.php' not found or unable to stat, referer: http://192.168.4.11/cacti/

Its looking for files in /var/www but they are in /var/www/cacti

So i guess there is something wrong with apache but i cant figure what.
Of course, everything is working fine before i apply the PA patch

Any idea will be great :)

User avatar
browniebraun
Developer
Posts: 788
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

#2 Post by browniebraun » Fri Jul 31, 2009 11:02 am

It seems to me that you forgot to setup the global.php, so take a look at the definition of the url path.

$config['url_path'] = '/cacti/';


Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list

Alkel
Posts: 2
Joined: Fri Jul 31, 2009 10:16 am

#3 Post by Alkel » Mon Aug 03, 2009 2:39 am

Yes, thats it :)
my bad for this mistake
Thanks!

Post Reply