Hmm, this is indeed a bug in cacti (also in Debian). Supporting the
plug-in infrastructure is new in 0.8.8. Apparently, the plug-ins don't
work well with my choices in the packaging. Please file a separate bug
against cacti, providing the information below and I will forward it to
Debian (where I have to fix it anyway). Not that I am sure how to fix
it, but the answer to the question below will help. Please answer it in
the to-be-filed bug.
Please try if it helps to create a soft-link pointing from
/usr/local/share/cacti/include to /usr/share/cacti/site/include,
something like:
cd /usr/local/share/cacti/ && ln -s ../../../share/cacti/site/include ./
Paul
On 12-07-12 16:17, Brian Jensen wrote:
> Thomas,
>
> The plugin boxes are checked under each user. The tabs at the top are
> showing along with the associated links on the side. When I click on any
> link on the side or tab at the top, I get just a blank page..I checked
> the apache2 error.log, these are some of the messages that are showing.
>
> [Wed Jul 11 14:06:07 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/syslog/syslog.php on line 35, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:07 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function syslog_check_dependencies() in /usr/local/share/cacti/plugins/syslog/syslog.php on line 44, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:13 2012] [error] [client 127.0.0.1] PHP Warning: include(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/syslog/syslog.php on line 35, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:13 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/syslog/syslog.php on line 35, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:13 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function syslog_check_dependencies() in /usr/local/share/cacti/plugins/syslog/syslog.php on line 44, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:14 2012] [error] [client 127.0.0.1] PHP Warning: include(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/syslog/syslog.php on line 35, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:14 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/syslog/syslog.php on line 35, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:14 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function syslog_check_dependencies() in /usr/local/share/cacti/plugins/syslog/syslog.php on line 44, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/syslog/syslog_alerts.php on line 26, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/syslog/syslog_alerts.php on line 26, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/syslog/syslog_alerts.php on line 52, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include_once(/include/top_header.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/syslog/syslog_alerts.php on line 52, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/include/top_header.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/syslog/syslog_alerts.php on line 52, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function input_validate_input_number() in /usr/local/share/cacti/plugins/syslog/syslog_alerts.php on line 582, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Warning: include(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/syslog/syslog_removal.php on line 26, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/syslog/syslog_removal.php on line 26, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/syslog/syslog_removal.php on line 52, referer: http://localhost/cacti/plugins.php
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Warning: include_once(/include/top_header
>
Hmm, this is indeed a bug in cacti (also in Debian). Supporting the
plug-in infrastructure is new in 0.8.8. Apparently, the plug-ins don't
work well with my choices in the packaging. Please file a separate bug
against cacti, providing the information below and I will forward it to
Debian (where I have to fix it anyway). Not that I am sure how to fix
it, but the answer to the question below will help. Please answer it in
the to-be-filed bug.
Please try if it helps to create a soft-link pointing from share/cacti/ include to /usr/share/ cacti/site/ include, share/cacti/ && ln -s ../../. ./share/ cacti/site/ include ./
/usr/local/
something like:
cd /usr/local/
Paul
On 12-07-12 16:17, Brian Jensen wrote: auth.php' for inclusion (include_path='.') in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 35, referer: http:// localhost/ cacti/plugins. php check_dependenc ies() in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 44, referer: http:// localhost/ cacti/plugins. php ./include/ auth.php) : failed to open stream: No such file or directory in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 35, referer: http:// localhost/ cacti/plugins. php auth.php' for inclusion (include_path='.') in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 35, referer: http:// localhost/ cacti/plugins. php check_dependenc ies() in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 44, referer: http:// localhost/ cacti/plugins. php ./include/ auth.php) : failed to open stream: No such file or directory in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 35, referer: http:// localhost/ cacti/plugins. php auth.php' for inclusion (include_path='.') in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 35, referer: http:// localhost/ cacti/plugins. php check_dependenc ies() in /usr/local/ share/cacti/ plugins/ syslog/ syslog. php on line 44, referer: http:// localhost/ cacti/plugins. php ./include/ auth.php) : failed to open stream: No such file or directory in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ alerts. php on line 26, referer: http:// localhost/ cacti/plugins. php auth.php' for inclusion (include_path='.') in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ alerts. php on line 26, referer: http:// localhost/ cacti/plugins. php share/cacti/ plugins/ syslog/ syslog_ alerts. php on line 52, referer: http:// localhost/ cacti/plugins. php once(/include/ top_header. php): failed to open stream: No such file or directory in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ alerts. php on line 52, referer: http:// localhost/ cacti/plugins. php top_header. php' for inclusion (include_path='.') in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ alerts. php on line 52, referer: http:// localhost/ cacti/plugins. php input_number( ) in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ alerts. php on line 582, referer: http:// localhost/ cacti/plugins. php ./include/ auth.php) : failed to open stream: No such file or directory in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ removal. php on line 26, referer: http:// localhost/ cacti/plugins. php auth.php' for inclusion (include_path='.') in /usr/local/ share/cacti/ plugins/ syslog/ syslog_ removal. php on line 26, referer: http:// localhost/ cacti/plugins. php share/cacti/ plugins/ syslog/ syslog_ removal. php on line 52, referer: http:// localhost/ cacti/plugins. php once(/include/ top_header
> Thomas,
>
> The plugin boxes are checked under each user. The tabs at the top are
> showing along with the associated links on the side. When I click on any
> link on the side or tab at the top, I get just a blank page..I checked
> the apache2 error.log, these are some of the messages that are showing.
>
> [Wed Jul 11 14:06:07 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/
> [Wed Jul 11 14:06:07 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function syslog_
> [Wed Jul 11 14:06:13 2012] [error] [client 127.0.0.1] PHP Warning: include(
> [Wed Jul 11 14:06:13 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/
> [Wed Jul 11 14:06:13 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function syslog_
> [Wed Jul 11 14:06:14 2012] [error] [client 127.0.0.1] PHP Warning: include(
> [Wed Jul 11 14:06:14 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/
> [Wed Jul 11 14:06:14 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function syslog_
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include(
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include_
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/include/
> [Wed Jul 11 14:06:20 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function input_validate_
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Warning: include(
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Warning: include(): Failed opening './include/
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/
> [Wed Jul 11 14:06:22 2012] [error] [client 127.0.0.1] PHP Warning: include_
>