BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Larrd problem



On Thu, 2005-10-20 at 16:37, Bengt Olsson wrote:
> Hi
> 
> I have tested the "work around" in the larrd-grapher.cgi file but it 
> didn't help....
> but the "work around" in the document was for v 1.2.6 and I have 1.2.11, 
> I don't know the version of larrd they have. The rrd files seeams to get 
> uppdated but no html pages.
> I don't know if it's any relvant data in the rrd files.
> 
> Then I downgrade the rrdtool to 1.0.50, no problem to compile and 
> install, but when i restarted bb i get this errors  in the LARRDOUT file:
> 
> /Parameter to use lib must be directory, not file at 
> /usr/local/larrd/larrd-html.pl line 54
> Can't locate RRDs.pm in @INC (@INC contains: /usr/local/rrdtool/lib/perl 
> /usr/local/larrd /usr/local/larrd/lib/LARRD /usr/local/rrdtool/lib/pe
> rl/ /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 
> /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr
> /local/lib/site_perl .) at /usr/local/larrd/larrd-html.pl line 55.
> BEGIN failed--compilation aborted at /usr/local/larrd/larrd-html.pl line 55.
> Parameter to use lib must be directory, not file at 
> /usr/local/larrd/la-larrd.pl line 32
> Can't locate RRDs.pm in @INC (@INC contains: /usr/local/rrdtool/lib/perl 
> /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/
> lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 
> /usr/local/lib/site_perl .) at /usr/local/larrd/la-larrd.pl line 34.
> BEGIN failed--compilation aborted at /usr/local/larrd/la-larrd.pl line 34.
> Parameter to use lib must be directory, not file at 
> /usr/local/larrd/disk-larrd.pl line 54
> .
> .
> /
> Then I copied the RRDs.pm file, that it seeams to need, to 
> /usr/local/rrdtool/lib/ ( /usr/local/rrdtool -> rrdtool-1.0.50). Now I 
> didn't get any complaints in the LARRDOUT file but the rrd files didn't 
> get uppdate and no html pages.  : (
> 
> When I changed back to rrdtool 1.2.11 the rrd files gets updated.
> 
> Any more ideas to help larrd newbi?

The next thing to do is probably set the DEBUG flag in larrd-html.pl
and see what that sends to the LARRDOUT file. I'd also modify the
first "if ($DEBUG)" clause so that it just echos the environment
variables rather than re-setting their values (or you could just
check them and set the values you need).

Cheers, Phil.



-- 
Adore, v.: To venerate expectantly.
(Ambrose Bierce, "The Devil's Dictionary")

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index