From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 15:57:03 2004 Return-Path: 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 12F7A16A4CE for ; Tue, 8 Jun 2004 15:57:03 +0000 (GMT) Received: from av9-1-sn1.fre.skanova.net (av9-1-sn1.fre.skanova.net [81.228.11.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7137F43D48 for ; Tue, 8 Jun 2004 15:57:02 +0000 (GMT) (envelope-from hasse@swedehost.com) Received: by av9-1-sn1.fre.skanova.net (Postfix, from userid 502) id CA48C37EAF; Tue, 8 Jun 2004 17:57:01 +0200 (CEST) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av9-1-sn1.fre.skanova.net (Postfix) with ESMTP id BC6DD37E45; Tue, 8 Jun 2004 17:57:01 +0200 (CEST) Received: from odin.swedehost.com (h171n2fls33o804.telia.com [217.209.211.171]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id A4BA337E46; Tue, 8 Jun 2004 17:57:01 +0200 (CEST) Received: from thor.swedehost.com (thor.swedehost.com [192.168.0.10]) by odin.swedehost.com (8.12.11/8.12.11) with ESMTP id i58Fv3Fs002748; Tue, 8 Jun 2004 17:57:03 +0200 (CEST) (envelope-from hasse@swedehost.com) From: Hasse Organization: The Valhalla Project To: freebsd-questions@freebsd.org Date: Tue, 8 Jun 2004 17:57:00 +0200 User-Agent: KMail/1.6.2 References: <3395.207.13.174.37.1086707288.squirrel@www.ValueDJ.com> In-Reply-To: <3395.207.13.174.37.1086707288.squirrel@www.ValueDJ.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406081757.00968.hasse@swedehost.com> X-Scanned-By: MIMEDefang 2.43 cc: whizkid@ValueDJ.com Subject: Re: F-Prot update errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 15:57:03 -0000 On Tuesday 08 June 2004 17.08, whizkid@ValueDJ.com wrote: > I install F-Prot from the ports. If I run check-updates.pl from the > console I get a sucessful update everytime (or a nothing updates found > message) but if I added the script into the crontab (via crontab -e as > root) I get the following Email: > > *************************************** > * F-Prot Antivirus Updater * > *************************************** > > There's a new version of: > "Document/Office/Macro viruses" signatures on the web. > Starting to download... > Download completed. > > Preparing to install Document/Office/Macro viruses signatures. > unzip: not found > Error trying to unzip: macrdef2.zip. > Make sure unzip is installed and it's location is within your PATH variable > Fatal error. Exiting... > > > > if I do a echo $path I get: > > /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin > /usr/X11R6/bin /root/bin > > if I do a which unzip I get: > > /usr/local/bin/unzip > > so unzip is clearly in the path... Anyone have any ideas? Here is my > crontab string: > > 27 4,16 * * * /usr/local/f-prot/tools/check-updates.pl -cron > > ns1# uname -a > FreeBSD ns1.valuedj.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Mar 11 > 09:35:27 PST 2004 > _______________________________________________ As far as I remember, according to the install doc for F-Prot, you're supposed to put /usr/local/bin before /usr/bin in your path. Also it depends of using bash shell. Check the docs at F-Prot's website. /Hasse.