RRDTool: Access Denied

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

paulio
Posts: 13
Joined: Mon Jan 23, 2006 10:56 am

RRDTool: Access Denied

Post by paulio »

I have recently installed Cacti 0.8.6h on a windows server.
I have added a couple of devices but cannot seem to graph them.
When I turn on graph debug mode the RRDTool command says GRAPH ACCESS DENIED.
Any ideas would be very much apprecaited.

Thanx.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Do you get this message when you're logged onto the console?
2) Do other graphs work fine?
3) You might have a permisison problem, read http://forums.cacti.net/viewtopic.php?t=11747
paulio
Posts: 13
Joined: Mon Jan 23, 2006 10:56 am

Post by paulio »

Thanks for your reply.

I do not get any error messages when I'm logged onto the console.

As yet I havent been able to graph anything?
Although I have tried to graph CPU usage on the actual Cacti server I see the graph but no results? & this is the only created graph that doesnt show that error message.

Any ideas?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Seems like you've changed the cacti user settings so that the guest user does not have access to the graph(s) you are trying to view. Go into the user management and correct the problem.

As for the blank working graph, make sure rrdtool has a proper path+font in cacti's settings.
paulio
Posts: 13
Joined: Mon Jan 23, 2006 10:56 am

Cacti Graphs

Post by paulio »

Hi,

I have ensured user managment is setup correctly. I only login as Admin anyway.

Please see attached my cacti.log

SNMP works, the rrd files are created in the rrd directory ok.

Any help on this tricky setup of graphs?

thanx in advance.
Attachments
cactilog.doc
Attached is cacti.log file
(971.25 KiB) Downloaded 422 times
Cacti - 0.8.6.f
PHP - 5.1.4
MySQL - 5.0.22
Apache - 2.0.58
Catid - 0.8.6.g
RRDtool - 1.2.12
Cygwin
Windows 2003 Svr Sp1
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Your log file is not in debug mode so it's worthless. Please read the last entry in my faq.

So even when you're logged on as admin you're still getting GRAPH ACCESS DENIED?

When you go to graph mangement, click on a graph, then click on enable graph debug. What error do you get?
farjamr
Posts: 1
Joined: Sat Jul 15, 2006 2:51 am
Contact:

help help help

Post by farjamr »

hi , i`m installing cacti on 0-8-6g on win 2003 & 2000
i get rrdtool graph access denied
what can i do
i check i still get eror on console
it make rrd but no graph
can anybody help me
that is importent to me the server working today
regards
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Post a screen shot.

Thanks,

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
lassep
Posts: 4
Joined: Fri Jul 21, 2006 4:23 am
Location: Sweden

I get exactly the same error

Post by lassep »

here is a screen shot.

The installation guide for windows must be better, it will work if you used to *nix, but a regular windows admin will not make it.
Attachments
rrdtool.jpg
rrdtool.jpg (127.34 KiB) Viewed 8267 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

That undefined index error you've got is also a problem. Make sure you've got the correct NTFS permissions set up for IUSR_COMPNAME on all Cacti files/folders. I suggest you use Sysinternals.com FileMon to check if you have any access denied errors.

Have you modfied the user permissions for the graphs?
lassep
Posts: 4
Joined: Fri Jul 21, 2006 4:23 am
Location: Sweden

Post by lassep »

BSOD2600 wrote:That undefined index error you've got is also a problem. Make sure you've got the correct NTFS permissions set up for IUSR_COMPNAME on all Cacti files/folders. I suggest you use Sysinternals.com FileMon to check if you have any access denied errors.

Have you modfied the user permissions for the graphs?
I am running as admin so the graph should be no problem (I think) checked the permission and admin has unrestriceted access.
filemon reveals nothing, Have already tested with filemon, tested run the website with the administrator account but no luck.
There is no rrd files created in the rra fodler either, when exactly is those files created?

Had some other problem initially when creating the DB i MySQL, script did not run all the way through, switched language setting to utf8 in MySQL and then the script created cacti DB without error.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Give the group Everyone RWX (Windows wise) access to Inetinfo/wwwroot folder. Maybe you can get joy that way. BTB, that is a slam dunk approach. BSOD will opt for more restrictive changes...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

lassep wrote:Had some other problem initially when creating the DB i MySQL, script did not run all the way through, switched language setting to utf8 in MySQL and then the script created cacti DB without error.
This could possibly be the cause of your problems too. You must patch cacti before trying to import the cacti.sql file (if you're using mysql 5.x).

Regardless if you're running cacti under admin, IIS does not run as admin (thank goodness!), so NTFS restrictions still apply. the default user IIS uses is IUSR_COMPNAME and IIS_WPG (if Win2K3). Giving everyone RWX isn't exactly the most secure, especially if the website is public. Helpful for troubleshooting permissions.... but those should've been revealed with FileMon.
lassep
Posts: 4
Joined: Fri Jul 21, 2006 4:23 am
Location: Sweden

Post by lassep »

Yes I am using MySQL 5.x, did not know that I was suppose to patch cacti before importing cacti.sql.
I have changed to IIS to run with another account just to see if I it would work when running with an admin account that have all the NTFS permissions.

I am about to try the complete windows installation package and see how it works out

/Lasse
strangebrew
Posts: 2
Joined: Wed May 28, 2014 3:07 am

Re: RRDTool: Access Denied

Post by strangebrew »

I think I have the same problem too. Can someone help me? I checked on the permissions all are allowed.
I also noticed that in graph filters I can't find all the host I created.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests