cant view graphs after upgrade

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
sebastian
Posts: 4
Joined: Mon Feb 06, 2006 4:27 am
Location: Arnsberg/Germany
Contact:

cant view graphs after upgrade

Post by sebastian »

Hi,
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
That looks strange to me, but i cant find the problems in the config files.
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
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

For the users you are logging in as, make sure that you double check the Graph Permissions.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
sebastian
Posts: 4
Joined: Mon Feb 06, 2006 4:27 am
Location: Arnsberg/Germany
Contact:

Post by sebastian »

I get "ACCESS DENIED" when i log in as admin where all Permissions are allowed too...
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Check your permissions, all of them, realm and graph.

There are multple tabs on the user editor page.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
sebastian
Posts: 4
Joined: Mon Feb 06, 2006 4:27 am
Location: Arnsberg/Germany
Contact:

Post by sebastian »

for admin:
in "Realm Permissions", every checkbox is set

in "Graph Permissions" all default policies are "ALLOW"
and the are no special policies active.

the 3 checkboxes for "Graph Options" are set too
but it's the same problem...
:(
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests