Cron <www@kennedy> /usr/local/bin/mrtg/usr/local/etc/mrtg/orion.cfg

Dave [Hawk-Systems] dave at hawk-systems.com
Sat Jul 12 05:10:56 PDT 2003


>> 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




More information about the freebsd-isp mailing list