[rrd-developers] Re: Tru64 - DEC Alpha - Cricket/RRDTool
Hayes, Jennifer
Jennifer.Hayes at det.nsw.edu.au
Tue Apr 4 07:45:58 MEST 2000
This does look like a Cricket problem more than anything but hopefully
somebody on this list may have more ideas on what we can try.
I'll have a go but I didn't see any of the examples creating any header info
- which is where our problem is.
While I have a look, here are the logs for Apache & the corresponding line
that it is complaining about in ~cricket/lib/RRD/File.pm:
APACHE error_log
# tail error_log
Grpaher dsnum: 4Use of uninitialized value at
/usr/users/cricket/public_html/cri
cket/./lib/RRD/File.pm line 349.
Grpaher dsnum: 5Use of uninitialized value at
/usr/users/cricket/public_html/cri
cket/./lib/RRD/File.pm line 349.
Grpaher dsnum: 2Use of uninitialized value at
/usr/users/cricket/public_html/cri
cket/./lib/RRD/File.pm line 349.
[Tue Apr 4 11:07:52 2000] [error] [client 153.107.16.226] Premature end of
scri
pt headers: /usr/users/cricket/public_html/cricket/grapher.cgi
Grpaher dsnum: 4Use of uninitialized value at
/usr/users/cricket/public_html/cri
cket/./lib/RRD/File.pm line 349.
Grpaher dsnum: 5Use of uninitialized value at
/usr/users/cricket/public_html/cri
cket/./lib/RRD/File.pm line 349.
----------------------------------------------
~cricket/lib/RRD/File.pm
my($wantedRow) = $self->rra_ptr(0);
my($elmSize) = sizeof($fmt->format('element'));
my($rraOffset) = 0; # this is because we only want the
first
RRA.
# eventually, we
could c
ompute this for an
# arbitrarty RRA.
****** my($dataOffset) = $rraOffset + ****** This is line 349
$wantedRow * ($ds_cnt * $elmSize) +
$ds
* $elmSize;
my($offset) = $headerOffset + $dataOffset;
my($value) = $self->_readBlock($offset, $elmSize);
if (defined($value)) {
($value) = unpack($fmt->format('element'), $value);
return $value;
Regards,
Jennifer
-----Original Message-----
From: Tobias Oetiker [ mailto:oetiker at ee.ethz.ch <mailto:oetiker at ee.ethz.ch>
]
Sent: Tuesday, April 04, 2000 3:35 PM
To: Hayes, Jennifer
Cc: 'rrd-developers at list.ee.ethz.ch'
Subject: Re: [rrd-developers] Re: Tru64 - DEC Alpha - Cricket/RRDTool
Today you sent me mail regarding [rrd-developers] Re: Tru64 - DEC Alpha
-...:
*> Hi,
*>
*> I tried all the example scripts in RRD & all work okay.
*>
*> Regards,
*> Jennifer
Could you try to modify one of the example scripts to exhibit the
same behaviour as your cricket install? This would help to debug
the problem ...
cheers
tobi
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
<http://ee-staff.ethz.ch/~oetiker>
--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
More information about the rrd-developers
mailing list