<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Drraw-2.23a -- cannot find RRA?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Courier">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">I just attempted a long-overdue upgrade of drraw. I am on Solaris8 with perl 5.8.7 and RRDtool 1.2.12.</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">When I go to create a new graph, I click on "Add DB to data sources" I get an error such as this:</FONT>
</P>
<P ALIGN=CENTER><FONT FACE="Times New Roman">No data source for "AVERAGE" RRA found in file "/data/cricket-data//1min/ssa-cam-ncc-l0b905_port10_if.rrd"!</FONT></P>
<P><FONT SIZE=2 FACE="Courier">The RRA is definitely there as indicated by rrdtool info <filename>. I get the same error no matter which RRD file I choose and no matter which RRA I choose.</FONT></P>
<P><FONT SIZE=2 FACE="Courier">Here is the error from error.log:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">[Wed May 16 11:50:13 2007] drraw.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/cgi-bin/drraw.cgi line 2607.</FONT></P>
<P><FONT SIZE=2 FACE="Courier">[Wed May 16 11:50:13 2007] drraw.cgi: Use of uninitialized value in concatenation (.) or string at /usr/local/apache2/cgi-bin/drraw.cgi line 2607.</FONT></P>
<P><FONT SIZE=2 FACE="Courier">I have fiddled with %datadirs. Here is the latest definition of it:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">%datadirs = ('/data/cricket-data' => '[Label1] ',</FONT>
<BR><FONT SIZE=2 FACE="Courier"> '/local/data/cricket-data' => '[Label2] ',</FONT>
<BR><FONT SIZE=2 FACE="Courier"> );</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">I've also tried this:</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">%datadirs = ('/local/data/cricket-data' => '[cricket] ',);</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Same outcome every time.</FONT>
<BR><FONT SIZE=2 FACE="Courier">???</FONT>
</P>
<P><FONT SIZE=2 FACE="Courier">Tanya Ruttenberg - RSIS Contractor</FONT>
<BR><FONT SIZE=2 FACE="Courier">OTSO/DNE/NMPEB</FONT>
<BR><FONT SIZE=2 FACE="Courier">tanya.ruttenberg@ssa.gov</FONT>
<BR><FONT SIZE=2 FACE="Courier">410-965-9605</FONT>
<BR><FONT COLOR="#0000FF" SIZE=2 FACE="Courier">SMC Home Page: </FONT><A HREF="http://smc.ba.ssa.gov"><U></U><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier">http://smc.ba.ssa.gov</FONT></U></A>
</P>
</BODY>
</HTML>