[solved] RRDtool help - rra No such file or directory

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

Moderators: Developers, Moderators

Post Reply
PriSupport
Posts: 13
Joined: Mon Jul 30, 2012 10:54 am

[solved] RRDtool help - rra No such file or directory

Post by PriSupport »

Hi there,
Still newbie and trying to get my first device/graph going. I looked up one interface on my device and here is the debug. I am using MRTG on the very same server on the same device so it should not be device specific.
Folder (C:/www/cacti/rra) does exist so not sure what rights should I adjust if any.
---
Operating System: winXP SP3
Webserver: Apache 2.2.22
Cacti: cacti-0.8.8a
Spine: cacti-spine-0.8.8a
---
RRDTool Command:

c:/www/cacti/RRDTool/data/rrd2/rrdtool-1.2.30/Release/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="3Com Switch - Traffic - Ethernet1/0/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/www/cacti/rra/3com_switch_traffic_in_31.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/www/cacti/rra/3com_switch_traffic_in_31.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
AREA:cdefa#00CF00FF:"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#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening 'C:/www/cacti/rra/3com_switch_traffic_in_31.rrd': No such file or directory
Where to start the troubleshooting?
Thank you.
PriSupport
Posts: 13
Joined: Mon Jul 30, 2012 10:54 am

Re: RRDtool help - rra No such file or directory

Post by PriSupport »

Thanks again BSOD,
Unfortunately, not much progress or skill here.
#7 posted above - the whole file permissions to rra folder
#8 nothing but weblog type of entries
#9 seems like unix debugging steps, could not really get much out of it
#10 seems to be the most logical based on RRDtool error in #7 but I am using Apache not IIS. Also, not quite sure where the "QUAD\Cactiuser" comes in the place,SYSTEM has full rights...and...the only 'user' I remember setting up was for mysql.

Sorry for the newbie questions.
Thanks for the support.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: RRDtool help - rra No such file or directory

Post by BSOD2600 »

#9 has all the key debugging steps. very few are linux specific and even so, there are windows equivalents.

QUAD\Cactiuser is just an example from the post, which obviously isn't relevant to your server. Make sure the Apache service account has the correct permissions per http://docs.cacti.net/manual:088:1_inst ... e_security
PriSupport
Posts: 13
Joined: Mon Jul 30, 2012 10:54 am

Re: RRDtool help - rra No such file or directory

Post by PriSupport »

All sorted.
It was ... :oops: ...user error.
Wrong syntax on first manual pull, therefor files were never being created.

Code: Select all

c:\php\php.exe c:\mycacti\website\cacti\poller.php
Thanks again!
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests