Date: Tue, 8 Jun 2004 17:57:00 +0200 From: Hasse <hasse@swedehost.com> To: freebsd-questions@freebsd.org Cc: whizkid@ValueDJ.com Subject: Re: F-Prot update errors Message-ID: <200406081757.00968.hasse@swedehost.com> In-Reply-To: <3395.207.13.174.37.1086707288.squirrel@www.ValueDJ.com> References: <3395.207.13.174.37.1086707288.squirrel@www.ValueDJ.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406081757.00968.hasse>