From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 15:09:53 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 0DA7916A4CE for ; Tue, 8 Jun 2004 15:09:53 +0000 (GMT) Received: from ns1.valuedj.com (adsl-216-100-130-21.dsl.snfc21.pacbell.net [216.100.130.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD1243D2F for ; Tue, 8 Jun 2004 15:09:52 +0000 (GMT) (envelope-from whizkid@ValueDJ.com) Received: from localhost (localhost.valuedj.com [127.0.0.1]) by ns1.valuedj.com (Postfix) with ESMTP id 2FF6A60CF for ; Tue, 8 Jun 2004 08:08:09 -0700 (PDT) Received: from ns1.valuedj.com ([127.0.0.1]) by localhost (ns1.valuedj.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86742-02 for ; Tue, 8 Jun 2004 08:08:08 -0700 (PDT) Received: by ns1.valuedj.com (Postfix, from userid 80) id DE4E960CD; Tue, 8 Jun 2004 08:08:08 -0700 (PDT) Received: from 207.13.174.37 (SquirrelMail authenticated user whizkid) by www.ValueDJ.com with HTTP; Tue, 8 Jun 2004 08:08:08 -0700 (PDT) Message-ID: <3395.207.13.174.37.1086707288.squirrel@www.ValueDJ.com> Date: Tue, 8 Jun 2004 08:08:08 -0700 (PDT) From: whizkid@ValueDJ.com To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Scanned: by amavisd-new at ValueDJ.com Subject: 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:09:53 -0000 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