Install Probs

Support for the Plugin Architecture

Moderators: Developers, Moderators

L0cayta1
Posts: 18
Joined: Mon Oct 03, 2011 4:51 am

Re: Install Probs

Post by L0cayta1 »

Indeed.

Apacher Error logs:

Apache/2.0.52 (CentOS) configured -- resuming normal operations
[client 172.16.50.150] PHP Warning: main(/var/www/html/cacti-plugin-arch/files-0.8.7g/lib/adodb/adodb.inc.php): failed to open stream: No such file or directory in /var/www/html/cacti-plugin-arch/files-0.8.7g/include/global.php on line 196
[client 172.16.50.150] PHP Warning: main(): Failed opening '/var/www/html/cacti-plugin-arch/files-0.8.7g/lib/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti-plugin-arch/files-0.8.7g/include/global.php on line 196
[client 172.16.50.150] PHP Warning: main(/var/www/html/cacti-plugin-arch/files-0.8.7g/lib/database.php): failed to open stream: No such file or directory in /var/www/html/cacti-plugin-arch/files-0.8.7g/include/global.php on line 197
[client 172.16.50.150] PHP Warning: main(): Failed opening '/var/www/html/cacti-plugin-arch/files-0.8.7g/lib/database.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti-plugin-arch/files-0.8.7g/include/global.php on line 197
[client 172.16.50.150] PHP Fatal error: Call to undefined function: db_connect_real() in /var/www/html/cacti-plugin-arch/files-0.8.7g/include/global.php on line 200



So this is the output from the lines mentioned in my global.config

/* include base modules */
include($config["library_path"] . "/adodb/adodb.inc.php");
include($config["library_path"] . "/database.php");

/* connect to the database server */
db_connect_real($database_hostname, $database_username, $database_password, $database_default, $database_type, $database_port);
L0cayta1
Posts: 18
Joined: Mon Oct 03, 2011 4:51 am

Re: Install Probs

Post by L0cayta1 »

I can see that these files and foldes don't exist in my new cacti root directory. Should they be replaced or copied over from my previous install?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Install Probs

Post by TheWitness »

If this is a Debian variant, I believe adodb is located in /var/lib/adodb.

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?
L0cayta1
Posts: 18
Joined: Mon Oct 03, 2011 4:51 am

Re: Install Probs

Post by L0cayta1 »

I'm running CentOS release 4.5.

The folder it's looking for was in my previous installation of cacti but it doesn't exist in the new files?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests