HELP,RRDTool Says:GRAPH ACCESS DENIED
Moderators: Developers, Moderators
HELP,RRDTool Says:GRAPH ACCESS DENIED
When I installed cacti on ubuntu today, I can't get anything from the graphs panel,and also I get some error when I try to get some debug info. The screen shot is enclosed.
Is there any body can help me ?
Many thanks!
Is there any body can help me ?
Many thanks!
- Attachments
-
- 1.gif (15.43 KiB) Viewed 3977 times
-
- 2.gif (34.4 KiB) Viewed 3977 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
That is due to invalid user 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]
[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]
Snowprint: On unbuntu what user does the web server run as?
Here is where I am going with this just for example:
On FreeBSD, Apache runs as user: nobody and group: nobody
So I fix up permissions on my web directory by:
chown -R nobody:nobody /opt/apache/htdocs/
You will need to substitute nobody with the user that your Apache runs as.
And you will need to set the path to your htdocs root.
Maybe /usr/local/apache/htdocs ?
Here is where I am going with this just for example:
On FreeBSD, Apache runs as user: nobody and group: nobody
So I fix up permissions on my web directory by:
chown -R nobody:nobody /opt/apache/htdocs/
You will need to substitute nobody with the user that your Apache runs as.
And you will need to set the path to your htdocs root.
Maybe /usr/local/apache/htdocs ?
Thank you,
Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
Ernie
http://www.NMSWorld.com
[b]Dual Zeon Dual Core 2.6Ghz / 8GB RAM / 4x15k RPM SATA RAID5[/b]
[b]Cacti Version[/b] - 0.8.7b
[b]Poller Type[/b] - cactid 0.8.7 with Boost v1.7
[b]Server Info[/b] - FreeBSD 7.0-RELEASE
[b]Web Server[/b] - Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8g DAV/2 PHP/5.2.5 mod_perl/2.0.3 Perl/v5.8.8
[b]PHP[/b] - 5.2.6
[b]MySQL[/b] - 5.0.51b Mod: poller_output ENGINE = MEMORY
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Host Info (hostinfo - v0.2), Update Checker (update - v0.3), Network Tools (tools - v0.2), FlowView (flowview - v0.3), Read-only Devices Tab (devices - v0.4), Network Discovery (discovery - v0.8.3), Syslog Monitoring (syslog - v0.5.2), Thresholds (thold - v0.3.9), Device Monitoring (monitor - v0.8.2), PHP Network Weathermap (weathermap - v0.941), SuperLinks (superlinks - v0.72), Report Creator (reports - v0.1b)
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I'm refering to Cacti graph permissions. That message is outputted in place of a image when you do not have access to that graph.
Go to user management and edit admin. Then click on the graph permissions tab. If any of the side items say DENY, the items listed in that section are the only ones you have access to. The opposite is true, if it says ALLOW and you have items listed in that section, those items will be denied access.
Go to user management and edit admin. Then click on the graph permissions tab. If any of the side items say DENY, the items listed in that section are the only ones you have access to. The opposite is true, if it says ALLOW and you have items listed in that section, those items will be denied access.
[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]
[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]
RRDTOOL Says: GRAPH ACCESS DENIED
I have a similar problem.
The rra/ directory is full rwx access, my cacti graph settings are all default permission: ALLOW (with no entries for exceptions).
rrd's are created in the rra/ directory, rrdtool works just fine from the command line but nothing ever shows up in the graph_view page.
When i turn on graph debug mode it says RRDTOOL says:GRAPH ACCESS DENIED.
As far as i know, SELinux is not running on my machine, however, when i do a "locate selinux" i get:
lib/libselinux.so.1
..etc
but there is no config file for it. running setenforce=0 tells me there is no such command.
I have searched through the forums for help on this but could not find any solution that fits.
Thanks
The rra/ directory is full rwx access, my cacti graph settings are all default permission: ALLOW (with no entries for exceptions).
rrd's are created in the rra/ directory, rrdtool works just fine from the command line but nothing ever shows up in the graph_view page.
When i turn on graph debug mode it says RRDTOOL says:GRAPH ACCESS DENIED.
As far as i know, SELinux is not running on my machine, however, when i do a "locate selinux" i get:
lib/libselinux.so.1
..etc
but there is no config file for it. running setenforce=0 tells me there is no such command.
I have searched through the forums for help on this but could not find any solution that fits.
Thanks
Who is online
Users browsing this forum: No registered users and 0 guests