On Tue, 2012-11-20 at 15:47 -0500, David Raynor wrote:
> On Tue, Nov 20, 2012 at 3:07 PM, Greg Folkert <[email protected]> wrote:
[...SNIP...]
> I assume you are intentionally trying to set up your own mirror without
> setting PrivateMirror to yes. The fact that your server is not seeing any
> get requests is concerning, and I cannot help if you have any networking
> issues so YMMV.
> 
> Here are two things I can pass on:
> 1) Run freshclam with --verbose to get more information on just what it is
> doing and where it is going wrong. With verbose, you should see it tell you
> exactly what URL it is trying to fetch, a line like "Retrieving
> http://updates.blah.com/main.cvd";

[clamav]# freshclam -v 
Current working dir is /var/clamav
Max retries == 3
ClamAV update process started at Tue Nov 20 14:55:12 2012
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 900
Software version from DNS: 0.97.6
main.cvd version from DNS: 54
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Retrieving http://updates.blah.com/daily.cvd
Ignoring mirror 10.50.0.230 (due to previous errors)
Ignoring mirror 10.50.0.230 (due to previous errors)
WARNING: Can't download daily.cvd from updates.blah.com
Trying again in 5 secs...
ClamAV update process started at Tue Nov 20 14:55:17 2012
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 895
Software version from DNS: 0.97.6
main.cvd version from DNS: 54
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Retrieving http://updates.blah.com/daily.cvd
Ignoring mirror 10.50.0.230 (due to previous errors)
Ignoring mirror 10.50.0.230 (due to previous errors)
WARNING: Can't download daily.cvd from updates.blah.com
Trying again in 5 secs...
ClamAV update process started at Tue Nov 20 14:55:22 2012
Using IPv6 aware code
Querying current.cvd.clamav.net
TTL: 890
Software version from DNS: 0.97.6
main.cvd version from DNS: 54
main.cvd is up to date (version: 54, sigs: 1044387, f-level: 60, builder: sven)
Retrieving http://updates.blah.com/daily.cvd
Ignoring mirror 10.50.0.230 (due to previous errors)
Ignoring mirror 10.50.0.230 (due to previous errors)
ERROR: Can't download daily.cvd from updates.blah.com
Giving up on updates.blah.com...
Update failed. Your network may be down or none of the mirrors listed in 
/etc/freshclam.conf is working. Check 
http://www.clamav.net/support/mirror-problem for possible reasons.

Appears, that it classifies my machine as a bad mirror. This might be
from my initial setup being in a subdir of the vhost... until I realized
it was wrong and put everything in the DocumentRoot.

How do I reset the "mirror" list to allow the machine without REMOVING
the "mirrors.dat" files.

This would also explain why I see NO requests, seeing as my webserver
vhost is on 10.50.0.230:
Mirror #37
IP: 10.50.0.230
Successes: 17
Failures: 5
Last access: Mon Nov 19 02:02:02 2012
Ignore: Yes

I did just remove the "mirrors.dat" file... and I put in a a few days
old files and doing the patches works just fine after I put back the
ScriptedUpdates to yes.

Either way seems to work, but how can i remove a "bad mirror" that is
actually a good mirror now. without obliterating the "mirrors.dat" file?

-- 
greg folkert - systems administration and support
web:    donor.com
email:  [email protected]
phone:  877-751-3300 x416
direct: 616-328-6449 (direct dial and fax)
"It takes a great man to be a good listener."
    -- Calvin Coolidge

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to