White screen after installed the PA

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
waikeung
Posts: 5
Joined: Thu Feb 28, 2008 1:53 am

White screen after installed the PA

Post by waikeung »

Hi all,

I am using Fedora10, install the cacti by yum and copy the patched cacti file to install the plugin architecture, after that it shows the while screen and the http error log shows as below, I have searched in google and this forum but can't solve the problem, all experts would you help me to solve it? Thanks!

[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Warning: include_once(/usr/share/cacti/lib/plugins.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /usr/share/cacti/include/global.php on line 210
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Stack trace:
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 1. {main}() /usr/share/cacti/index.php:0
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 2. include() /usr/share/cacti/index.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 3. include() /usr/share/cacti/include/auth.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/share/cacti/lib/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/include/global.php on line 210
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Stack trace:
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 1. {main}() /usr/share/cacti/index.php:0
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 2. include() /usr/share/cacti/index.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 3. include() /usr/share/cacti/include/auth.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Warning: include_once(/usr/share/cacti/include/plugins.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /usr/share/cacti/include/global.php on line 211
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Stack trace:
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 1. {main}() /usr/share/cacti/index.php:0
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 2. include() /usr/share/cacti/index.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 3. include() /usr/share/cacti/include/auth.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/share/cacti/include/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/include/global.php on line 211
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Stack trace:
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 1. {main}() /usr/share/cacti/index.php:0
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 2. include() /usr/share/cacti/index.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 3. include() /usr/share/cacti/include/auth.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Fatal error: Call to undefined function api_plugin_hook() in /usr/share/cacti/include/global_arrays.php on line 649
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP Stack trace:
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 1. {main}() /usr/share/cacti/index.php:0
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 2. include() /usr/share/cacti/index.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 3. include() /usr/share/cacti/include/auth.php:25
[Mon Jun 29 09:50:58 2009] [error] [client 192.168.0.1] PHP 4. include_once() /usr/share/cacti/include/global.php:212


Waikeung
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Looks like a permission problem on the new files.
waikeung
Posts: 5
Joined: Thu Feb 28, 2008 1:53 am

Post by waikeung »

Hi BSOD2600,

I have tried to "chmod 777" all files I copied to cacti directory but got the same error message, is there any other file I need to change it?Thanks!

WaiKeung
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

You should turn off SELinux also if it is running.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests