NO Graph!

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

Moderators: Developers, Moderators

Post Reply
wxw2004gl
Posts: 5
Joined: Thu Mar 22, 2007 10:56 pm

NO Graph!

Post by wxw2004gl »

cacti can creat .rra,but aways 93KB;
RRDTOOL Error:
RRDTool Command:
GRAPH ACCESS DENIED
RRDTool Says:
GRAPH ACCESS DENIED

php5.1.6
mysql 4.1.2
cacti0.6.8i
cactid0.6.8i-cygwin-1.5.21
rrdtool1.2.12
net-snmp-5.4.0-1
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Read my installation guide http://forums.cacti.net/viewtopic.php?t=11747

You need to correctly set the NTFS permissions.
wxw2004gl
Posts: 5
Joined: Thu Mar 22, 2007 10:56 pm

Post by wxw2004gl »

in lib\rrd.php
$access_denied = !(is_graph_allowed($local_graph_id));
result is 1

if I set $access_denied =false; rrdtool return the error:

RRDTool Says:


Warning: popen(c:/cactid/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Dcrs7508 - Traffic - ethernet1/1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" --slope-mode DEF:a="D\:/InetPub/cacti-0.8.6i/rra/dcrs7508_traffic_in_12.rrd":traffic_in:AVERAGE DEF:b="D\:/InetPub/cacti-0.8.6i/rra/dcrs7508_traffic_in_12.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"Inbound" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#002A97:"Outbound" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 2>&1,rb) [function.popen]: No error in D:\InetPub\cacti-0.8.6i\lib\rrd.php on line 94



Warning: fgets(): supplied argument is not a valid stream resource in D:\InetPub\cacti-0.8.6i\lib\rrd.php on line 117
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

There is no need to edit php code. You have NOT correctly set NTFS permissions on the files cacti needs. Read the installation guide in my signature and re-apply NTFS security. Pay attention to the files in the cacti directory, rrdtool.exe and cmd.exe.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest