i cant view any graph after upgrading from 0.6.7 to 0.6.8 to 0.8.6c.
The 0.6.7 was on an old Debian Woody box and i copied it all (mysqldb,rra- and scripts-dir)
to a new Sarge box.
Then i installed 0.6.8 for upgrading the db and everything was fine.
After that i installed the new Debian package (0.8.6c) and upgraded again.
The Webfrontend said erverything would be fine but now i always get "ACCESS DENIED" when i try to view a graph.
I think the rights for /usr/share/cacti/* are ok, because everything belongs to www-data and should be writeable for the webserver.
I have activated almost everthing in "User Management" for admin so i think that cannot be the problem.
For testing i ran poller.php in the shell and thats the output...
Code: Select all
www:~# /usr/share/cacti/site/poller.php
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
mysqladmin: connect to server at '-u' failed
error: 'Unknown MySQL server host '-u' (1)'
Check that mysqld is running on -u and that the port is 3306.
You can check this by doing 'telnet -u 3306'
sh: line 1: /usr/bin/smbstatus: Datei oder Verzeichnis nicht gefunden
wc: /var/log/apache-ssl/access.log: Datei oder Verzeichnis nicht gefunden
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
ERROR: Not enough arguments
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.98
OK u:0.01 s:0.00 r:0.99
OK u:0.01 s:0.00 r:0.99
OK u:0.01 s:0.00 r:0.99
OK u:0.01 s:0.00 r:0.99
OK u:0.01 s:0.00 r:0.99
OK u:0.01 s:0.00 r:0.99
OK u:0.01 s:0.00 r:0.99
02/06/2006 10:12:05 AM - SYSTEM STATS: Time: 1.0532 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 8, Hosts/Process: 8
The mysql connection is correctly configured in /etc/cacti/debian.conf and i can login into the webfrontend too.
So the mysql connection should work.
I didnt found anything about the ping-command in the config file, and iam using apache2 and not the apache-ssl package from debian.
Thats why i have no idea about the 2 messages about ping and the apache-ssl.log lines.
It would be great if anybody could give me some hints to solve the problem...
Sebastian