When I try to see the graph appears the message
"rrdtool says: graph access denied"
and I cannot see any graph
I have a debian 3.1,
mysql-server-5.0 (version 5.0.18-3.dotdeb.1 )
cacti 0.8.6c-7sarge2
rrdtool says: graph access denied
Moderators: Developers, Moderators
When I executed graph.ph manually some errors come into view.
/usr/share/cacti/site/rra# su - cacti
$ php /usr/share/cacti/site/graph.php
Warning: main(./include/auth.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 32
Warning: main(): Failed opening './include/auth.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 32
Warning: main(./lib/rrd.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 33
Warning: main(): Failed opening './lib/rrd.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 33
Warning: main(./lib/html_tree.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 34
Warning: main(): Failed opening './lib/html_tree.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 34
Warning: main(./include/top_graph_header.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 35
Warning: main(): Failed opening './include/top_graph_header.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 35
Fatal error: Call to undefined function: input_validate_input_regex() in /usr/share/cacti/site/graph.php on line 38
/usr/share/cacti/site# ls -la
total 580
drwxr-xr-x 9 cacti users 4096 Feb 9 17:57 .
drwxr-xr-x 4 root root 4096 Feb 7 12:35 ..
-rw-r--r-- 1 cacti users 5051 Dec 19 2004 about.php
-rw-r--r-- 1 cacti users 4773 Dec 19 2004 auth_changepassword.php
-rw-r--r-- 1 cacti users 6133 Dec 19 2004 auth_login.php
-rw-r--r-- 1 cacti users 13108 Jul 13 2005 cdef.php
-rwxr-xr-x 1 cacti users 14692 Dec 19 2004 cmd.php
-rw-r--r-- 1 cacti users 5917 Jul 13 2005 color.php
-rw-r--r-- 1 cacti users 17515 Jul 13 2005 data_input.php
-rw-r--r-- 1 cacti users 28157 Jul 13 2005 data_queries.php
-rw-r--r-- 1 cacti users 42590 Jul 13 2005 data_sources.php
-rw-r--r-- 1 cacti users 26231 Jul 13 2005 data_templates.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 docs
-rw-r--r-- 1 cacti users 6110 Jul 13 2005 gprint_presets.php
-rw-r--r-- 1 cacti users 10001 Jul 13 2005 graph.php
-rw-r--r-- 1 cacti users 3424 Jul 13 2005 graph_image.php
-rw-r--r-- 1 cacti users 6318 Dec 19 2004 graph_settings.php
-rw-r--r-- 1 cacti users 19075 Jul 13 2005 graph_templates.php
-rw-r--r-- 1 cacti users 10091 Jul 13 2005 graph_templates_inputs.php
-rw-r--r-- 1 cacti users 17359 Jul 13 2005 graph_templates_items.php
-rw-r--r-- 1 cacti users 13421 Jul 13 2005 graph_view.php
-rw-r--r-- 1 cacti users 45252 Jul 13 2005 graphs.php
-rw-r--r-- 1 cacti users 10896 Jul 13 2005 graphs_items.php
-rw-r--r-- 1 cacti users 30670 Jul 13 2005 graphs_new.php
-rw-r--r-- 1 cacti users 29654 Jul 13 2005 host.php
-rw-r--r-- 1 cacti users 14232 Jul 13 2005 host_templates.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 images
drwxr-xr-x 6 cacti users 4096 Feb 7 12:35 include
-rw-r--r-- 1 cacti users 2271 Dec 19 2004 index.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 install
drwxr-xr-x 3 cacti users 4096 Feb 7 12:35 lib
lrwxrwxrwx 1 cacti users 14 Feb 7 12:35 log -> /var/log/cacti
-rw-r--r-- 1 cacti users 1796 Dec 19 2004 logout.php
-rwxr-xr-x 1 cacti users 8770 Dec 19 2004 poller.php
lrwxrwxrwx 1 cacti users 11 Feb 7 12:35 resource -> ../resource
drwxr-xr-x 2 cacti users 4096 Feb 9 17:57 rra
-rw-r--r-- 1 cacti users 6623 Jul 13 2005 rra.php
-rw-r--r-- 1 cacti users 6603 Dec 19 2004 script_server.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 scripts
-rw-r--r-- 1 cacti users 4832 Dec 19 2004 settings.php
-rw-r--r-- 1 cacti users 6813 Dec 19 2004 templates_export.php
-rw-r--r-- 1 cacti users 5843 Dec 19 2004 templates_import.php
-rw-r--r-- 1 cacti users 17443 Jul 13 2005 tree.php
-rw-r--r-- 1 cacti users 28118 Jul 13 2005 user_admin.php
-rw-r--r-- 1 cacti users 9841 Jul 13 2005 utilities.php
/usr/share/cacti/site/rra# su - cacti
$ php /usr/share/cacti/site/graph.php
Warning: main(./include/auth.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 32
Warning: main(): Failed opening './include/auth.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 32
Warning: main(./lib/rrd.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 33
Warning: main(): Failed opening './lib/rrd.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 33
Warning: main(./lib/html_tree.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 34
Warning: main(): Failed opening './lib/html_tree.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 34
Warning: main(./include/top_graph_header.php): failed to open stream: No such file or directory in /usr/share/cacti/site/graph.php on line 35
Warning: main(): Failed opening './include/top_graph_header.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/cacti/site/graph.php on line 35
Fatal error: Call to undefined function: input_validate_input_regex() in /usr/share/cacti/site/graph.php on line 38
/usr/share/cacti/site# ls -la
total 580
drwxr-xr-x 9 cacti users 4096 Feb 9 17:57 .
drwxr-xr-x 4 root root 4096 Feb 7 12:35 ..
-rw-r--r-- 1 cacti users 5051 Dec 19 2004 about.php
-rw-r--r-- 1 cacti users 4773 Dec 19 2004 auth_changepassword.php
-rw-r--r-- 1 cacti users 6133 Dec 19 2004 auth_login.php
-rw-r--r-- 1 cacti users 13108 Jul 13 2005 cdef.php
-rwxr-xr-x 1 cacti users 14692 Dec 19 2004 cmd.php
-rw-r--r-- 1 cacti users 5917 Jul 13 2005 color.php
-rw-r--r-- 1 cacti users 17515 Jul 13 2005 data_input.php
-rw-r--r-- 1 cacti users 28157 Jul 13 2005 data_queries.php
-rw-r--r-- 1 cacti users 42590 Jul 13 2005 data_sources.php
-rw-r--r-- 1 cacti users 26231 Jul 13 2005 data_templates.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 docs
-rw-r--r-- 1 cacti users 6110 Jul 13 2005 gprint_presets.php
-rw-r--r-- 1 cacti users 10001 Jul 13 2005 graph.php
-rw-r--r-- 1 cacti users 3424 Jul 13 2005 graph_image.php
-rw-r--r-- 1 cacti users 6318 Dec 19 2004 graph_settings.php
-rw-r--r-- 1 cacti users 19075 Jul 13 2005 graph_templates.php
-rw-r--r-- 1 cacti users 10091 Jul 13 2005 graph_templates_inputs.php
-rw-r--r-- 1 cacti users 17359 Jul 13 2005 graph_templates_items.php
-rw-r--r-- 1 cacti users 13421 Jul 13 2005 graph_view.php
-rw-r--r-- 1 cacti users 45252 Jul 13 2005 graphs.php
-rw-r--r-- 1 cacti users 10896 Jul 13 2005 graphs_items.php
-rw-r--r-- 1 cacti users 30670 Jul 13 2005 graphs_new.php
-rw-r--r-- 1 cacti users 29654 Jul 13 2005 host.php
-rw-r--r-- 1 cacti users 14232 Jul 13 2005 host_templates.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 images
drwxr-xr-x 6 cacti users 4096 Feb 7 12:35 include
-rw-r--r-- 1 cacti users 2271 Dec 19 2004 index.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 install
drwxr-xr-x 3 cacti users 4096 Feb 7 12:35 lib
lrwxrwxrwx 1 cacti users 14 Feb 7 12:35 log -> /var/log/cacti
-rw-r--r-- 1 cacti users 1796 Dec 19 2004 logout.php
-rwxr-xr-x 1 cacti users 8770 Dec 19 2004 poller.php
lrwxrwxrwx 1 cacti users 11 Feb 7 12:35 resource -> ../resource
drwxr-xr-x 2 cacti users 4096 Feb 9 17:57 rra
-rw-r--r-- 1 cacti users 6623 Jul 13 2005 rra.php
-rw-r--r-- 1 cacti users 6603 Dec 19 2004 script_server.php
drwxr-xr-x 2 cacti users 4096 Feb 7 12:35 scripts
-rw-r--r-- 1 cacti users 4832 Dec 19 2004 settings.php
-rw-r--r-- 1 cacti users 6813 Dec 19 2004 templates_export.php
-rw-r--r-- 1 cacti users 5843 Dec 19 2004 templates_import.php
-rw-r--r-- 1 cacti users 17443 Jul 13 2005 tree.php
-rw-r--r-- 1 cacti users 28118 Jul 13 2005 user_admin.php
-rw-r--r-- 1 cacti users 9841 Jul 13 2005 utilities.php
Who is online
Users browsing this forum: No registered users and 1 guest