[mrtg] *intermittent* problem with 14all.cgi

Michael W. Lucas mwlucas at blackhelicopters.org
Wed May 18 21:26:39 MEST 2005


I'm using 14all.cgi under mod_perl to generate graphs from my MRTG
RRDs, and experiencing intermittent errors in graph generation.

In a large config file (10-12 targets), perhaps 1 or 2 of the graphs
do not appear.  When this happens, I get the following error in the log:

[Wed May 18 13:22:36 2005] [error] [Wed May 18 13:22:36 2005] -e: Can't locate auto/RRDs/graph.al in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.6/mach/Apache2/ /usr/local/lib/perl5/site_perl/5.8.6/mach/ /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach /usr/local/lib/perl5/5.8.6 . /usr/local) at /usr/local/www/data/pl/internal2.pl line 555\n

Each failed-to-generate graph creates one of these errors.  When I
reload the page, though, that graph usually appears and another graph
vanishes!

I would expect that if Perl was missing a library, it would fail all
the time!

I've gone through several older versions of RRDTool, and can't find a
"graph.al" anywhere.  The line 555 in question is the middle line
below, which seems irrelevant to the file in question:

        my ($a, $rrdx, $rrdy) = RRDs::graph(@$argsref);
        my $e = RRDs::error();
        log_rrdtool_call($cfg->{config}{'14all*rrdtoollog'},$e,'graph',$argsref);

This started happening while I was on vacation, and everybody insists
that they haven't changed anything.  :-)

Any suggestions?

Thanks!
==ml

-- 
Michael W. Lucas	mwlucas at FreeBSD.org, mwlucas at BlackHelicopters.org
		http://www.BlackHelicopters.org/~mwlucas/

"The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list