|
|
| Author |
Message |
weran
Joined: 01 Dec 2008 Posts: 3
|
Posted: Mon Dec 01, 2008 7:56 am Post subject: Installed Plugin Architecture then cant open CACTI |
|
|
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 |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Mon Dec 01, 2008 8:27 am Post subject: |
|
|
How did you install the PIA?
Is the file /var/www/html/cacti/lib/plugins.php present?
Reinhard |
|
| Back to top |
|
 |
weran
Joined: 01 Dec 2008 Posts: 3
|
Posted: Mon Dec 01, 2008 9:30 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12642 Location: Muenster, Germany
|
Posted: Tue Dec 02, 2008 3:49 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
weran
Joined: 01 Dec 2008 Posts: 3
|
Posted: Wed Dec 03, 2008 5:06 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
|