Cacti 0.8.8a HTTP 500 Error (Realtime 0.5.2 Plugin) SOLVED!!

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
beyre83
Posts: 5
Joined: Tue Jan 15, 2013 5:29 pm

Cacti 0.8.8a HTTP 500 Error (Realtime 0.5.2 Plugin) SOLVED!!

Post by beyre83 »

System Ubuntu 12.10

installed lamp useing apt-get
Installed Cacti 0.8.8a useing apt-get
installed rrdtool useing apt-get
installed snmp snmpd useing apt-get

i used build-dep on all the installed stuff

with the plugin Realtime 0.5.2 installed in the cacti plugin directory its enabled installed and accesss granted to the user

but when i click on the Realtime Graph i get HTTP 500 Error See

Image

Code: Select all

[Tue Jan 15 18:33:54 2013] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.4.6-1ubuntu1.1 configured -- resuming normal operations

[Tue Jan 15 18:35:07 2013] [error] [client xxx.xxx.xxx.xxx] PHP
Warning:  include(./include/auth.php): failed to open stream: No such
file or directory in
/usr/local/share/cacti/plugins/realtime/graph_popup_rt.php on line 22,
referer: http://xxx.xx/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=7

[Tue Jan 15 18:35:07 2013] [error] [client xxx.xxx.xxx.xxx] PHP
Warning:  include(): Failed opening './include/auth.php' for inclusion
(include_path='.') in
/usr/local/share/cacti/plugins/realtime/graph_popup_rt.php on line 22,
referer: http://xxx.xx/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=7

[Tue Jan 15 18:35:07 2013] [error] [client xxx.xxx.xxx.xxx] PHP Fatal
error:  Call to undefined function input_validate_input_number() in
/usr/local/share/cacti/plugins/realtime/graph_popup_rt.php on line 27,
referer: http://xxx.xx/cacti/graph_view.php?action=tree&tree_id=1&leaf_id=7

[Tue Jan 15 18:35:07 2013] [error] [client xxx.xxx.xxx.xxx] File does
not exist: /var/www/favicon.ico
Image

so as you can see Ordinary Cacti will graph

and i set the cache directory in the settings misc tab and it says directory ok

so i am a bit stumped as to what the problem is any help with getting this resolved i'd appreciate it :)

Yours Faithfully

Beyre83
Last edited by beyre83 on Wed Jan 16, 2013 8:32 am, edited 1 time in total.
beyre83
Posts: 5
Joined: Tue Jan 15, 2013 5:29 pm

Re: Cacti 0.8.8a HTTP 500 Error (Realtime 0.5.2 Plugin)

Post by beyre83 »

seems the problem is todo with Symbolic Links this can be fixed by SU then when logged in as root

cd /usr/local/share/cacti/ && ln -s ../../../share/cacti/site/include ./

then that fixes the HTTP 500 error

now i just have a error with The Image Cache Directory is not writeable please set permissions and then attempt to open another realtime graph
beyre83
Posts: 5
Joined: Tue Jan 15, 2013 5:29 pm

Re: Cacti 0.8.8a HTTP 500 Error (Realtime 0.5.2 Plugin)

Post by beyre83 »

now i just have the following issues

Code: Select all

[Wed Jan 16 13:02:45 2013] [notice] Apache/2.2.22 (Ubuntu)
PHP/5.4.6-1ubuntu1.1 configured -- resuming normal operations

[Wed Jan 16 13:03:10 2013] [error] [client xxx.xxx.xxx.xxx] File does not
exist: /var/www/favicon.ico

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Warning:
include_once(./lib/rrd.php): failed to open stream: No such file or
directory in /usr/local/share/cacti/plugins/realtime/graph_image_rt.php
on line 26, referer:
http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Warning:
include_once(): Failed opening './lib/rrd.php' for inclusion
(include_path='.') in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line 26,
referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
199, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
201, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
241, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
301, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
340, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
396, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
397, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
398, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
399, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
401, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
402, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
403, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
409, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Notice:
Use of undefined constant RRD_NL - assumed 'RRD_NL' in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
414, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

[Wed Jan 16 13:03:11 2013] [error] [client xxx.xxx.xxx.xxx] PHP Fatal
error:  Call to undefined function rrdtool_set_font() in
/usr/local/share/cacti/plugins/realtime/graph_image_rt.php on line
421, referer: http://xxx.xxx/cacti/plugins/realtime/graph_popup_rt.php?local_graph_id=5

beyre83
Posts: 5
Joined: Tue Jan 15, 2013 5:29 pm

Re: Cacti 0.8.8a HTTP 500 Error (Realtime 0.5.2 Plugin)

Post by beyre83 »

FIXED with a symbolic link to cd /usr/local/share/cacti/ && ln -s ../../../share/cacti/site/lib ./

:D WOOT
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests