This one time, at band camp, Paolo said:
> hello,
> 
> I've followed the docs to setup a local mirror, and pointed internal nodes
> which runs freshclam to that mirror. 
> While getting main.cvd succeeds, it fails for daily.cvd because the mirror
> doesn't have it:
> 
> $ ls -l /var/lib/clamav/
> total 18298
> -rw-r--r--  1 clamav clamav  1113240 2008-04-27 15:54 
> clamav-0d71d0195d8653e84c7f2c00b63aba0a
> -rw-r--r--  1 clamav clamav  4491264 2008-06-01 19:36 daily.cld
> drwxr-xr-x  2 clamav clamav     1024 2008-04-27 15:36 daily.inc
> -rw-r--r--  1 root   root         33 2004-08-17 16:09 
> etc.freshclam.conf.md5sum
> -rw-r--r--  1 clamav clamav 13050207 2008-04-27 15:53 main.cvd
> drwxr-xr-x  2 clamav clamav     1024 2008-04-27 14:03 main.inc
> 
> daily.cvd seems to never appear.
> 
> With no proxy, local mirror, and 'ScriptedUpdates false', I see:
> 
> main.cvd is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
> WARNING: getfile: daily.cvd not found on remote server (IP: 192.168.0.2)
> ERROR: Can't download daily.cvd from my.mirror
> Giving up on my.mirror...
> Update failed. Your network may be down
> 
> OTOH with no proxy, local mirror, and 'ScriptedUpdates yes', I see:
> 
> main.cvd is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven)
> WARNING: getfile: daily-7106.cdiff not found on remote server (IP: 
> 192.168.0.2)
> WARNING: getpatch: Can't download daily-7106.cdiff from my.mirror
> WARNING: getfile: daily-7106.cdiff not found on remote server (IP: 
> 192.168.0.2)
> WARNING: getpatch: Can't download daily-7106.cdiff from my.mirror
> WARNING: getfile: daily-7106.cdiff not found on remote server (IP: 
> 192.168.0.2)
> WARNING: getpatch: Can't download daily-7106.cdiff from my.mirror
> WARNING: getfile: daily-7106.cdiff not found on remote server (IP: 
> 192.168.0.2)
> WARNING: getpatch: Can't download daily-7106.cdiff from my.mirror
> WARNING: getfile: daily-7106.cdiff not found on remote server (IP: 
> 192.168.0.2)
> ERROR: getpatch: Can't download daily-7106.cdiff from my.mirror
> WARNING: Incremental update failed, trying to download daily.cvd
> WARNING: getfile: daily.cvd not found on remote server (IP: 192.168.0.2)
> ERROR: Can't download daily.cvd from my.mirror
> 
> so both cases fail and internal nodes never get daily.cvd.

What do your web server logs say about the fetch attempt?  If you don't
see anything useful there, can you provide the output of 
`tcpdump -i $if -s0 -A port 80 and host $host`
on the webserver, where $host is the freshclam client machine and $if is
the relevant interface (eg, eth0).

> Real bug or did I miss something here? 

I can't know yet.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature

Reply via email to