Hi Robert,

The zero-byte cdiff update was intentional. For more details, see: 
https://lists.clamav.net/pipermail/clamav-users/2021-July/011494.html
The database back-end folks did the right thing... This error message is my 
fault and is a Freshclam bug.  

Thankfully this bug should just be a loud error message but should not cause 
Freshclam to fail. Freshclam should begin to behave normally again after we 
publish the next database version and it downloads that.
Please see my message from just a bit ago for more details: 
https://lists.clamav.net/pipermail/clamav-users/2021-July/011499.html

Regards,
Micah

> -----Original Message-----
> From: clamav-users <clamav-users-boun...@lists.clamav.net> On Behalf Of
> Robert M. Stockmann via clamav-users
> Sent: Wednesday, July 14, 2021 5:00 PM
> To: Paul Netpresto via clamav-users <clamav-users@lists.clamav.net>
> Cc: Robert M. Stockmann <st...@stokkie.net>
> Subject: Re: [clamav-users] Freshclam updates problem
> 
> On Wed, 14 Jul 2021, Paul Netpresto via clamav-users wrote:
> 
> > Date: Wed, 14 Jul 2021 23:30:28 +0100
> > From: Paul Netpresto via clamav-users <clamav-users@lists.clamav.net>
> > To: clamav-users@lists.clamav.net
> > Cc: Paul Netpresto <p...@netpresto.co.uk>
> > Subject: [clamav-users] Freshclam updates problem
> >
> > Hello
> >
> > This has started occurring on all our 103.2 systems.  Is this related
> > to the " New Main & Daily CVD's are incoming" email from Joel earlier
> > today
> >
> > ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
> > ERROR: downloadPatch: Can't apply patch The database server doesn't
> > have the latest patch for the daily database (versio n 26232). The
> > server will likely have updated if you check again in a few hours.
> > main database available for update (local version: 59, remote version:
> > 60)
> > ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
> > ERROR: downloadPatch: Can't apply patch The database server doesn't
> > have the latest patch for the main database (version   60). The
> > server will likely have updated if you check again in a few hours.
> > bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level:
> > 63, builde
> > r: awillia2)
> >
> 
> I get this, which somehow includes version numbers :
> 
> [hubble:root]:(~)# freshclam
> ClamAV update process started at Thu Jul 15 01:55:51 2021 daily database
> available for update (local version: 26231, remote version: 26232) Current
> database is 1 version behind.
> Downloading database patch # 26232...
> ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
> ERROR: downloadPatch: Can't apply patch
> The database server doesn't have the latest patch for the daily database
> (version 26232). The server will likely have updated if you check again in a 
> few
> hours.
> main database available for update (local version: 59, remote version: 60)
> Current database is 1 version behind.
> Downloading database patch # 60...
> ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
> ERROR: downloadPatch: Can't apply patch
> The database server doesn't have the latest patch for the main database
> (version 60). The server will likely have updated if you check again in a few
> hours.
> bytecode.cvd database is up-to-date (version: 333, sigs: 92, f-level: 63, 
> builder:
> awillia2) [hubble:root]:(~)#
> 
> Someone on the database distribution backend for clamav still has some work
> todo
> >
> > _______________________________________________
> >
> > clamav-users mailing list
> > clamav-users@lists.clamav.net
> > https://lists.clamav.net/mailman/listinfo/clamav-users
> >
> >
> > Help us build a comprehensive ClamAV guide:
> > https://github.com/vrtadmin/clamav-faq
> >
> > http://www.clamav.net/contact.html#ml
> >
> 
> --
> Robert M. Stockmann - RHCE
> Network Engineer - UNIX/Linux Specialist crashrecovery.org  st...@stokkie.net
> 
> 
> _______________________________________________
> 
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to