RRDTOOL SAYS: GRAPH ACCESS DENIED

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

Moderators: Developers, Moderators

chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

RRDTOOL SAYS: GRAPH ACCESS DENIED

Post by chris.rolves »

Ok I have cacti installed, I am unsure of the exact versios of what I am running but i downloaded the latest RPM of Cacti for Fedora Core 4, I have PHP5 installed unsure what version of MSQL and RRDTool is 1.0.x. whats going on is I can add devices just fine with out error and goto create graphs but when I goto the graph tab there is absolutely nothing there. I found where i could goto Graph Management and Debug the graphs and i get RRDTOOL COMMAND:
GRAPH ACCESS DENIED

RRDTOOL SAYS:
GRAPH ACCESS DENIED

I really dont have time here at work to go searching thru all the threads to find an answer to this so I posted my cacti log file. I hope someone can help me
Thanks
Attachments
cacti.txt
My cacti log file
(20.68 KiB) Downloaded 457 times
Digian
Posts: 7
Joined: Fri Feb 17, 2006 1:30 am
Location: Australia

Post by Digian »

http://forums.cacti.net/viewtopic.php?t=12017

Is your problem anything like this ?
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

No, the only errors im getting are the ones i explained the the ones in my attached log file. I guess I should say that I do not have Selinux installed, nor do i have a firewall enabled.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

What does httpd's error_log show?
Reinhard
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

http error log

Post by chris.rolves »

Attached is my HTTP error log
Attachments
http.txt
(14.27 KiB) Downloaded 268 times
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

Guess I will give a Run down of all I have done

I installed a custom install of Fedora Core 4 with just X-windows, Gnome, Graphical and Commandline internet browsing, the development tools, Web server, Mysql, Server Admin tools

I Downloaded the FC4 RPM file and it told me to download net-snmp, rrdtool, perl-mysql, perl-snmp and I did that thru YUM and also installed net-snmp-utils

I then re-ran the install from the RPM and followed the directions from 2-5 in the documentation.

Went thru the interface and set everything up going by its defaults and logged in as admin and changed the admin password all ok thus far.

As a test I installed everything on a newer system and before adding any devices i thought i would check out the info on localhost. It had the standard stuff added in for localhost. I go into Graph Management and then click one of the three graphs and turn on debug mode and thats when I get the RRDTool Command and RRDTool Says error messages.

I appologize in advance for doing this but this is the HTTP log that I had

[Wed Mar 01 04:26:56 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 01 04:26:57 2006] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 01 04:26:57 2006] [notice] Digest: done
[Wed Mar 01 04:26:57 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Mar 01 04:26:57 2006] [notice] LDAP: SSL support unavailable
[Wed Mar 01 04:26:58 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Mar 01 04:26:58 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[client 192.168.1.167] PHP Warning: mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Access denied for user 'cact'@'localhost' (using password: YES) in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 355
[Wed Mar 01 04:27:10 2006] [error] [client 192.168.1.167] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 04:27:10 2006] [error] [client 192.168.1.167] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 04:27:10 2006] [notice] child pid 32008 exit signal Segmentation fault (11)
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ar_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... snmp_cache
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... snmp_cache
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php ... ew_logfile
[client 192.168.1.167] PHP Warning: unlink(/var/www/html/cacti/log/cacti.log) [<a href='function.unlink'>function.unlink</a>]: Permission denied in /var/www/html/cacti/utilities.php on line 201, referer: http://192.168.1.99/cacti/utilities.php
[client 192.168.1.167] PHP Warning: touch() [<a href='function.touch'>function.touch</a>]: Utime failed: Operation not permitted in /var/www/html/cacti/utilities.php on line 202, referer: http://192.168.1.99/cacti/utilities.php
[Wed Mar 01 08:28:46 2006] [error] [client 192.168.1.133] Directory index forbidden by rule: /var/www/html/
[Wed Mar 01 08:28:47 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:28:52 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:28:59 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:07 2006] [error] [client 192.168.1.133] Directory index forbidden by rule: /var/www/html/, referer: http://192.168.1.99/
[Wed Mar 01 08:29:08 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:13 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:23 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:25 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:29 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:36 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:40 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:45 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:49 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico
[Wed Mar 01 08:29:57 2006] [error] [client 192.168.1.133] File does not exist: /var/www/html/favicon.ico



I Work for a Colocation facility and we are trying to implement this for 95th percentile to start billing customers for bustable bandwidth. With everything else I have going on I havent and dont realy have the time to search the forums too much more for the answer to this problem.

Thanks in advance.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The pconnect errors indicate some config problem. MySQL can't be accessed. Is the userid correct (cact instead of cacti or the like)?
Reinhard
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

user name is correct in the config.php file as well as the sql database name.
Mark Susol
Posts: 8
Joined: Tue Mar 07, 2006 12:15 am

Post by Mark Susol »

I'm having similar difficulties, and have read multiple threads here and still can't figure out why I get "GRAPH ACCESS DENIED".

SuSe9.2
php 4.3.8
mysql 4.0.21

example poller/cacti log:
03/06/2006 08:13:22 PM - SYSTEM STATS: Time:1.1709 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:8 RRDsProcessed:7

Data Source: UDBB - Load Average - 5 Minute
RRD: /srv/www/vhosts/susebox/html/cacti-0.8.6h/rra/udbb_load_5min_20.rrd
Action: 0, OID: .1.3.6.1.4.1.2021.10.1.3.2 (Host: 63.218.155.115, Community: public)
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

yeah i have read several threads, tried googling the different errors that come up in the logs and havent found a solution yet.
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

This is what comes up in my cacti log after i go into debug for 5 minutes. Please someone help me.


03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('remove_verification', 'on')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_retries', '3')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_port', '161')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_timeout', '500')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_password', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_username', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_community', 'Nagi0sser')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_ver', '1')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('rrdtool_version', 'rrd-1.0.x')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('snmp_version', 'net-snmp')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_perror', 'on')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_pwarn', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_pstats', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_verbosity', '2')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_export', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_graph', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_snmp', '')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('log_destination', '1')"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='6' and user_auth_realm.realm_id='15'"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
03/08/2006 03:49:13 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='remove_verification'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='remove_verification'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='other_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='other_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_retries'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_retries'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_port'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_port'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_timeout'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_timeout'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_password'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_password'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_username'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_username'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_community'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_community'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_ver'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_ver'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='rrdtool_version'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='rrdtool_version'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='snmp_version'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='snmp_version'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='versions_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='versions_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_perror'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_perror'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pwarn'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pwarn'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_pstats'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_pstats'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_verbosity'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_verbosity'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='poller_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='poller_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_export'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_export'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_graph'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_graph'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_snmp'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_snmp'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='log_destination'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='log_destination'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='logging_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select value from settings where name='logging_header'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select realm_id from user_auth_realm where user_id=6"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select username from user_auth where id=6"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select user_auth_realm.realm_id from user_auth_realm where user_auth_realm.user_id='6' and user_auth_realm.realm_id='15'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select id from user_auth where username='guest'"
03/08/2006 03:40:06 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select cacti from version"
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

latest finding

Post by chris.rolves »

I dunno if this is normal but this is what comes up when I run php cmd.php from /var/www/html/cacti


->refused->refused03/08/2006 04:23:24 AM - CMDPHP: Poller[0] Time: 0.6906 s, Theads: N/A, Hosts: 3

are the two refused parts supposed to be there?
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

Ok, I happened to find in a post where someone was told to log into cacti's web UI with admin and see if the graphs show up. Well I did that and It works perfectly, Why is this?
chris.rolves
Cacti User
Posts: 52
Joined: Wed Mar 01, 2006 6:03 am

Post by chris.rolves »

Ok im sorry for all the posts with what could possibly be stupid errors that arent going to cause problems but i finally got it all figured out, it was all UI user permission problems that i got squared away.
Mark Susol
Posts: 8
Joined: Tue Mar 07, 2006 12:15 am

Post by Mark Susol »

I had gone through the user permissions as well, still nothing. It seems like the problme for me might be cacti, RRDTool and SuSe.

Now I had cacti working at one time when I had the box on my desk and was using localhost. I remember seeing the graphs, I just diodn't have any traffic to make them interesting.

So then I upgraded cacti (reinstall actually) and moved to virtual host.

I came across a file that of course now I can't find again that only allowed localhost (127.0.0.1) like an htaccess file, I changed it to allow ALL when I found it.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests