Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2004 08:08:08 -0700 (PDT)
From:      whizkid@ValueDJ.com
To:        freebsd-questions@freebsd.org
Subject:   F-Prot update errors
Message-ID:  <3395.207.13.174.37.1086707288.squirrel@www.ValueDJ.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3395.207.13.174.37.1086707288.squirrel>