Problem with autoupdate.f-prot

Julian Field mailscanner at ecs.soton.ac.uk
Wed Nov 13 11:04:25 GMT 2002


At 00:12 13/11/2002, you wrote:
>I switched to using
>cd /usr/lib/MailScanner; ./f-prot-autoupdate -cron
>and didnt see any change in behaviour. I dropped the " -cron" and still saw no
>behaviour. After one of the files is updated at f-prot, four times a day I
>get a
>message like the one below.
>
>Just like with the script from f-prot, the command works just fine from
>the command
>line. In fact, I normally copy the command out of the Subject line of the
>error
>message and paste it into the shell. I am generally logged on as root, and
>the cron
>script is set to run as root, so that's not the difference.

Can you try the attached f-prot-autoupdate from your cron job and see if it
works any better? The "unzip" command is bailing out for no very good reason.


>Any ideas?
>
>Van
>
>
>
>
>
>Date: Tue, 12 Nov 2002 13:00:03 -0800
>From: root at verbose.twistedhistory.com (Cron Daemon)
>To: root at verbose.twistedhistory.com
>Subject: Cron <root at verbose> cd /usr/lib/MailScanner;./f-prot-autoupdate
>X-Cron-Env: <SHELL=/bin/sh>
>X-Cron-Env: <HOME=/root>
>X-Cron-Env: <PATH=/usr/bin:/bin>
>X-Cron-Env: <LOGNAME=root>
>X-MailScanner: Found to be clean
>
>
>FTP address for retrieving files is ftp://eu-1.updates.f-prot.com/pub/
>F-Prot signature file update script
>There is a new version of SIGN.DEF, starting download.
>Download completed.
>Fatal error while unzipping file., Bad file descriptor at
>./f-prot-autoupdate line
>294, <TEMPFILE> line 2.
>
>
>
>Julian Field wrote:
>
> > At 06:09 30/10/2002, you wrote:
> > >I'm running the updater /usr/local/f-prot_3.12b/check-updates.sh with
> the cron
> > >suffix, and I've never seen it work. But I go to the command line and
> it works
> > >just fine. So I end up using the failure message as a trigger to
> manually run
> > >it.
> > >
> > >Reading your message, it looks like you are running a different
> script, but I
> > >don't have an autoupdate.f-prot on my system. Should this have been
> part of
> > >the install? Or is this something I should go hunting for? I would
> welcome a
> > >script that normally works with the occasional failure instead of the
> script
> > >that never runs.
> >
> > You will have /usr/lib/MailScanner/f-prot-autoupdate. Use that.
> >
> > >I'm running 4.00.0a13-1, in case that explains why I don't have the
> script you
> > >are using.
> > >
> > >Van
> > >
> > >
> > >
> > >Paul Welsh wrote:
> > >
> > > > I'm using Julian's f-prot autoupdate script:
> > > >
> > > > #   $Id: autoupdate,v 1.3.2.5 2002/07/15 00:47:26 nwp Exp $
> > > >
> > > > and today I got the following error in my logs:
> > > >
> > > > FTP address for retrieving files is ftp://eu-1.updates.f-prot.com/pub/
> > > > F-Prot signature file update script
> > > > There is a new version of SIGN.DEF, starting download.
> > > > Download completed.
> > > > Updated SIGN.DEF.
> > > > There is a new version of SIGN2.DEF, starting download.
> > > > Updated SIGN2.DEF.
> > > > There is a new version of MACRO.DEF, starting download.
> > > > Download completed.
> > > > Download completed.
> > > > Could not find correct version of MACRO.DEF, exiting., Bad file
> descriptor
> > > > at /etc/cron.daily/autoupdate.f-prot line 294, <TEMPFILE> chunk 4.
> > > >
> > > > I ran the script again from the command line and no error messages -
> > > > everything was up to date apparently.
> > > >
> > > > I'm on MailScanner 3.22 with F-Prot 3.12a.
> > >
> > >--
> > >----------------------------------------------------------
> > >Sign up now for Quotes of the Day, a handful of quotations
> > >on a theme delivered every morning.
> > >Enlightenment! Daily, for free!
> > >mailto:twisted at whidbey.com?subject=Subscribe_QOTD
> > >
> > >For web hosting and maintenance,
> > >visit Van's home page: http://www.domainvanhorn.com/van/
> > >----------------------------------------------------------
> >
> > --
> > Julian Field                Teaching Systems Manager
> > jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> > Tel. 023 8059 2817          University of Southampton
> >                              Southampton SO17 1BJ
>
>--
>----------------------------------------------------------
>Sign up now for Quotes of the Day, a handful of quotations
>on a theme delivered every morning.
>Enlightenment! Daily, for free!
>mailto:twisted at whidbey.com?subject=Subscribe_QOTD
>
>For web hosting and maintenance,
>visit Van's home page: http://www.domainvanhorn.com/van/
>----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f-prot-autoupdate
Type: application/octet-stream
Size: 9104 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20021113/00cbee35/f-prot-autoupdate.obj
-------------- next part --------------
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ


More information about the MailScanner mailing list