Installed Plugin Architecture then cant open CACTI

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
weran
Posts: 3
Joined: Mon Dec 01, 2008 7:51 am

Installed Plugin Architecture then cant open CACTI

Post by weran »

i has instelled Plugin Architecture
then i cant open CACTI WEB
when i install have't any error ,
i am get Apache error log

it show

[Mon Dec 01 21:07:21 2008] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/html/cacti/lib/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/cacti/include/global.php on line 211

[Mon Dec 01 21:07:21 2008] [error] PHP Warning: include_once(/var/www/html/cacti/include/plugins.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /var/www/html/cacti/include/global.php on line 212

[Mon Dec 01 21:07:21 2008] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/html/cacti/include/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/cacti/include/global.php on line 212

[Mon Dec 01 21:07:21 2008] [error] PHP Fatal error: Call to undefined function api_plugin_hook() in /var/www/html/cacti/include/global_arrays.php on line 620
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

How did you install the PIA?
Is the file /var/www/html/cacti/lib/plugins.php present?
Reinhard
weran
Posts: 3
Joined: Mon Dec 01, 2008 7:51 am

Post by weran »

gandalf wrote:How did you install the PIA?
Is the file /var/www/html/cacti/lib/plugins.php present?
Reinhard
i has foallow
# cd /var/www/html/cacti

cacti/# patch -p1 -N < /home/ctools/cacti-plugin-arch/cacti-plugin-0.8.7b-PA-v2.1.diff

to install

and i has try

cp -r /home/ctools/cacti-plugin-arch/files-0.8.7b/* /var/www/html/cacti/

still cacti open fail
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What was the output of the patch command? Did you install the pa.sql to the cacti database?
If everything fails, you may delete the cacti installation and re-install the code (do NOT change the existing database!) to start fresh
Reinhard
weran
Posts: 3
Joined: Mon Dec 01, 2008 7:51 am

Post by weran »

gandalf wrote:What was the output of the patch command? Did you install the pa.sql to the cacti database?
If everything fails, you may delete the cacti installation and re-install the code (do NOT change the existing database!) to start fresh
Reinhard
ok i'll try~ thx alots
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests