[Avcheck] avp corrupted file "daily.avc"
Ralf Hildebrandt
Ralf.Hildebrandt@charite.de
Wed, 5 Dec 2001 08:35:50 +0100
On Tue, Dec 04, 2001 at 08:47:40PM -0700, Robert Dalton wrote:
> Today after receiving the gone.scr worm we noticed
> that avp was not loading daily.avc. Further inspection
> showed that the file was corrupted at the download site: http://downloads1.kaspersky-labs.com/updates/
Yup.
> #!/bin/sh
>
> /var/spool/avp/kavupdater -y -o -kb -b=/var/spool/avp/bases \
> -uik=http://www.kaspersky-labs.com/updates/ | tee /tmp/avptmp
> if [ 0 -lt $(egrep -c "(not completed|corrupted)" /tmp/avptmp) ]
> then
> mail -s "AVP PROBLEM" root < /tmp/avptmp
> fi
> rm -f /tmp/avptmp
> chmod 644 /var/spool/avp/bases/* > /dev/null
> chmod 755 /var/spool/avp/bases > /dev/null
Why don't you use -ki for incremental updateS?
--
Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandt@charite.de
Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916
I'm not insane, just an ISP.
Although people may consider that to be a mark of an insane person!