From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 01:02:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DF3C16A41F for ; Sun, 27 Nov 2005 01:02:35 +0000 (GMT) (envelope-from fasterdisco@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 788AD43D58 for ; Sun, 27 Nov 2005 01:02:34 +0000 (GMT) (envelope-from fasterdisco@gmail.com) Received: by zproxy.gmail.com with SMTP id 14so1039240nzn for ; Sat, 26 Nov 2005 17:02:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=K+bn5QRWekGxM6q3Usikhq9O7VdDlfbI2RLP3nrwJF7ohgMujYU0rKjX5uXF3ezUvKkFkLClA7CyZIuSz/rldP+mLHotnmGAmWQpF7Lz0FSiW1heoQfAoGMtAjWSMI8OatBzlYkZizLc5YQ0DMgmp4HT+R0ik9NpPyCm/uN30cE= Received: by 10.64.196.19 with SMTP id t19mr9688353qbf; Sat, 26 Nov 2005 17:02:34 -0800 (PST) Received: by 10.65.43.6 with HTTP; Sat, 26 Nov 2005 17:02:33 -0800 (PST) Message-ID: Date: Sat, 26 Nov 2005 20:02:34 -0500 From: "matt ." To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <6.2.3.4.2.20051126154801.023a3ac0@cobalt.antimatter.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Running mrtg on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 01:02:35 -0000 On 11/26/05, matt . wrote: > > > > Trying this now...I'll letcha now. Thanks! > Still seeing the same error. I created /usr/local/www/mrtg owned by mrtg:mrtg. I run the following in mrtg's crontab: */5 * * * * /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg --debug=3Dcfg,= dir --logging /var/log/mrtg.log And I see the debug check the config and dir structures ok: 2005-11-26 19:58:00 -- --dir: ensure path IN: '/usr/local/www/mrtg' 2005-11-26 19:58:00 -- --dir: ensure path OUT: '/usr/local/www/mrtg/' 2005-11-26 19:58:00 -- --dir: imagehtml =3D 2005-11-26 19:58:00 -- Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mrtg line 720. 2005-11-26 19:58:00 -- Use of uninitialized value in concatenation (.) or string at /usr/local/bin/mrtg line 720. 2005-11-26 19:58:00 -- ERROR: Can't Execute '/rateup' Still trying to execute /rateup. This works flawlessly when run by root. = I don't get it. Here is line 720 of /usr/local/bin/mrtg: ((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or (($MRTG_lib::OS eq 'NW') and (-e "SYS:/Mrtg/bin/rateup.nlm")) or (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) or die "ERROR: Can't Execute '${FindBin::Bin}${MRTG_lib::SL}rateup'\n"; matt