From owner-freebsd-isp@FreeBSD.ORG Sat Jul 12 02:11:00 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1951337B401 for ; Sat, 12 Jul 2003 02:11:00 -0700 (PDT) Received: from psknet.com (kennedy.psknet.com [63.171.251.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D95343F75 for ; Sat, 12 Jul 2003 02:10:59 -0700 (PDT) (envelope-from troy@psknet.com) Received: from pool-141-152-69-180.roa.east.verizon.net ([141.152.69.180] helo=tws) by psknet.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.20) id 19bGPB-0005F7-Mq for freebsd-isp@freebsd.org; Sat, 12 Jul 2003 05:10:57 -0400 From: "Troy Settle" To: "'FreeBSD ISP List'" Date: Sat, 12 Jul 2003 05:09:01 -0400 Message-ID: <001401c34855$3cfbf0b0$0100a8c0@tws> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: FW: Cron /usr/local/bin/mrtg /usr/local/etc/mrtg/orion.cfg X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2003 09:11:00 -0000 > -----Original Message----- > From: Cron Daemon [mailto:www@psknet.com] > Subject: Cron /usr/local/bin/mrtg > /usr/local/etc/mrtg/orion.cfg > > > 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"; TIA, -- Troy Settle Pulaski Networks http://www.psknet.com 540.994.4254 ~ 866.477.5638 Pulaski Chamber 2002 Small Business Of The Year