Date: Sat, 12 Jul 2003 08:10:50 -0400 From: "Dave [Hawk-Systems]" <dave@hawk-systems.com> To: "Troy Settle" <troy@psknet.com>, "'FreeBSD ISP List'" <freebsd-isp@freebsd.org> Subject: RE: Cron <www@kennedy> /usr/local/bin/mrtg/usr/local/etc/mrtg/orion.cfg Message-ID: <DBEIKNMKGOBGNDHAAKGNAEFICEAC.dave@hawk-systems.com> In-Reply-To: <001401c34855$3cfbf0b0$0100a8c0@tws>
index | next in thread | previous in thread | raw e-mail
>> Use of uninitialized value in string at /usr/local/bin/mrtg line 66.
>> Empty compile time value given to use lib at
>> /usr/local/bin/mrtg line 66
>> Use of uninitialized value in concatenation (.) or string at
>> /usr/local/bin/mrtg line 67.
>
>
>Anyone know what's up with this? MRTG runs fine from the commandline,
>but not from crontab.
>
> mrtg-2.9.29_1,1
> perl-5.8.0_6
>
>Here's the offending code (lines 66 and 67):
>
> use lib "${FindBin::Bin}";
> use lib "${FindBin::Bin}${main::SL}..${main::SL}lib${main::SL}mrtg2";
$PATH missing for a reuired library above? in my experience, missing paths is
uaually the reason for difference between running as shell and not running as
cron.
Dave
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DBEIKNMKGOBGNDHAAKGNAEFICEAC.dave>
