Does the Plugin Arch. work on Ubuntu ?

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
aandersen72
Posts: 2
Joined: Fri Sep 29, 2006 2:25 am

Does the Plugin Arch. work on Ubuntu ?

Post by aandersen72 »

Hi

Ubuntu server 6.06.1, Cacti v.0.86h.
I've made a 'clean' install - downloaded the Plugin Architecture patch.
(cacti-plugin-0.8.6h.diff)
I ran the:
Patch -p1 -N < cacti-plugin-0.8.6h.diff

When I want to start Cacti via
http://localhost/cacti/

I get:
Warning: include(/usr/share/cacti/site/lib/adodb/adodb.inc.php) [function.include]: failed to open stream: No such file or directory in /usr/share/cacti/site/include/config.php on line 166

Warning: include() [function.include]: Failed opening '/usr/share/cacti/site/lib/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/include/config.php on line 166

Fatal error: Call to undefined function NewADOConnection() in /usr/share/cacti/site/lib/database.php on line 40

:(

HELP...
wwolkers
Posts: 24
Joined: Thu Sep 14, 2006 6:44 am

Post by wwolkers »

did you even test if cacti worked before applying the patch?

this is an adodb error btw. somewhere a little while ago, adodb moved in the debian packages (which ubuntu is using also). perhaps an upgrade of the adodb package will fix this, else the path to your adodb is not set corectly.
aandersen72
Posts: 2
Joined: Fri Sep 29, 2006 2:25 am

Post by aandersen72 »

Hi,

Actually I tryed 2 times - with same result.

First time, I had Cacti running, the problems occurred when I applied the Plugin Architecture patch.

I will look for an upgrade of the adodb package..

Thanks..
wwolkers
Posts: 24
Joined: Thu Sep 14, 2006 6:44 am

Post by wwolkers »

what you probably need is to change line 166 in config.php

I'm running cacti on debian from the debian package, and for me line 166 is changed to:

include("/usr/share/php/adodb/adodb.inc.php");

to know where your adodb.inc.php is, easiest is to run:

dpkg -L libphp-adodb | grep adodb.inc.php

from a root terminal.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests