Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
MrMikeE
Posts: 4
Joined: Thu Oct 24, 2013 1:55 pm

Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post by MrMikeE »

I have an Ubuntu server running Cacti 0.8.8a and the Settings and Manage plugin. There are no issues on that server. I am in the process of installing a new server with Cacti 0.8.8a on it. This server is Debian 7.1. I installed the Cacti package and its up and running. I installed the Settings plugin with no issues. It works fine as well. Once I install the Manage plugin I get nothing but a blank white screen until I rename the Manage directory. Something with this plugin doesn't seem to work correctly. I followed the info in the README about moving the plugin directory and it doesn't appear to cause any issues with the Settings plugin. Anyone run into this issue before?

Debian specific info from README:
* Create a directory /usr/local/share/cacti/plugins:
mkdir /usr/local/share/cacti/plugins
* Move all content of /usr/share/cacti/site/plugins to
/usr/local/share/cacti/plugins
mv /usr/share/cacti/site/plugins/* /usr/local/share/cacti/plugins/
* Remove the empty /usr/share/cacti/site/plugins directory
rmdir /usr/share/cacti/site/plugins
* Create the following symlinks:
ln -s /usr/local/share/cacti/plugins /usr/share/cacti/site/plugins
ln -s /usr/share/cacti/site/include /usr/local/share/cacti/include
ln -s /usr/share/cacti/site/lib /usr/local/share/cacti/lib




total 20
drwxr-sr-x 4 root staff 4096 Oct 24 14:50 .
drwxrwsr-x 5 root staff 4096 Oct 24 14:29 ..
-rw-r--r-- 1 www-data www-data 45 Oct 24 14:15 index.php
drwxr-xr-x 12 www-data www-data 4096 Oct 24 14:12 manage
drwxr-xr-x 3 www-data www-data 4096 Sep 25 2011 settings


Thanks for any input.

Mike
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post by paulgevers »

Could you please have a look at your /var/log/cacti/ log files and post errors here? I expect to see something in at least error.log. Else, you could have a look in /var/log/apache2/error.log (assuming you run apache).

It might be that I overlooked something in the description in README.Debian.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
MrMikeE
Posts: 4
Joined: Thu Oct 24, 2013 1:55 pm

Re: Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post by MrMikeE »

[Thu Oct 24 11:01:53 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 11:02:00 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 11:02:04 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752
[Thu Oct 24 11:02:09 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752
[Thu Oct 24 11:02:18 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752
[Thu Oct 24 11:03:14 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752
[Thu Oct 24 11:04:50 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752
[Thu Oct 24 11:05:01 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752
[Thu Oct 24 14:25:09 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/share/cacti/site/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:27:15 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/share/cacti/site/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:27:18 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/share/cacti/site/plugins/manage/setup.php on line 752
[Thu Oct 24 14:28:15 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/share/cacti/site/plugins/manage/setup.php on line 752, referer: http://servername/cacti/index.php
[Thu Oct 24 14:28:18 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/share/cacti/site/plugins/manage/setup.php on line 752, referer: http://servername/cacti/index.php
[Thu Oct 24 14:30:14 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:30:17 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:30:18 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:40:05 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:40:08 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:40:09 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:49:45 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/plugins.php
[Thu Oct 24 14:49:48 2013] [error] [client X.X.X.X] PHP Fatal error: Call to undefined function define_syslog_variables() in /usr/local/share/cacti/plugins/manage/setup.php on line 752, referer: http://servername/cacti/graph_templ
ates.php?action=template_edit&id=35
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post by paulgevers »

Seems like the plugin is not up-to-date for php 5.4. See e.g. http://bugs.cacti.net/view.php?id=2216. Please ask the plugin provider to fix this, or check the fix in svn and apply it yourself.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
MrMikeE
Posts: 4
Joined: Thu Oct 24, 2013 1:55 pm

Re: Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post by MrMikeE »

I'll see what I can do. Thanks for the direction.
hipo
Posts: 1
Joined: Sat Dec 19, 2015 1:42 am
Location: Bulgaria

Re: Manage Plugin 0.6.2 - Debian 7.1 - Cacti 0.8.8a

Post by hipo »

As workaround, I just comment define_syslog_variables() in setup.php and manage_check.php files. The installation passed successfully.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests