F-Prot update errors

Hasse hasse at swedehost.com
Tue Jun 8 08:57:03 PDT 2004


On Tuesday 08 June 2004 17.08, whizkid at 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.


More information about the freebsd-questions mailing list