Chuck Swiger wrote: > On Apr 14, 2008, at 1:06 PM, Carlos Williams wrote: >>> It is not fine, in the sense that you didn't update since a long time >>> (55 DB versions got released in the mean time!) >>> >> So does this freshclam run every night to update or how does this >> exactly work? I want to kind have this automated and keep from >> flooding >> my logs? > > You can either set up a cron job to run freshclam periodically > (perhaps once every 4 hours or so), or you can simply run freshclam as > a daemon from system startup RC scripts. > > It would be possible to run it only once a daily via the daily > periodic mechanism, also, but virus DB updates appear more frequently > than daily, generally, so your window where new signatures are > available but not yet fetched would be larger. >
OK however before I decide to automate this via a daemon, I need to understand what is going on with all these failures. When I try to run freshclam manually, I get the following over and over all day long: [EMAIL PROTECTED] bin]# freshclam ClamAV update process started at Mon Apr 14 16:07:03 2008 WARNING: Your ClamAV installation is OUTDATED! WARNING: Local version: 0.90.3 Recommended version: 0.93 DON'T PANIC! Read http://www.clamav.net/support/faq main.inc is up to date (version: 46, sigs: 231834, f-level: 26, builder: sven) Downloading daily-6760.cdiff [100%] Ignoring mirror 65.120.238.2 (too often connections with outdated version) ERROR: getpatch: Can't download daily-6761.cdiff from db.us.clamav.net Ignoring mirror 65.120.238.2 (too often connections with outdated version) Trying host db.us.clamav.net (209.8.40.140)... Downloading daily-6761.cdiff [100%] Ignoring mirror 209.8.40.140 (too often connections with outdated version) ERROR: getpatch: Can't download daily-6762.cdiff from db.us.clamav.net Ignoring mirror 65.120.238.2 (too often connections with outdated version) Trying host db.us.clamav.net (128.121.60.235)... nonblock_connect: connect timing out (30 secs) Can't connect to port 80 of host db.us.clamav.net (IP: 128.121.60.235) Trying host db.us.clamav.net (199.239.233.95)... nonblock_recv: recv timing out (30 secs) ERROR: getfile: Error while reading database from db.us.clamav.net (IP: 199.239.233.95) ERROR: getpatch: Can't download daily-6762.cdiff from db.us.clamav.net Ignoring mirror 209.8.40.140 (too often connections with outdated version) Ignoring mirror 65.120.238.2 (too often connections with outdated version) Trying host db.us.clamav.net (64.186.240.114)... Downloading daily-6762.cdiff [100%] Ignoring mirror 64.186.240.114 (too often connections with outdated version) ERROR: getpatch: Can't download daily-6763.cdiff from db.us.clamav.net Ignoring mirror 209.8.40.140 (too often connections with outdated version) Ignoring mirror 65.120.238.2 (too often connections with outdated version) Ignoring mirror 64.186.240.114 (too often connections with outdated version) Ignoring mirror 199.239.233.95 (too often connections with outdated version) Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons. I am just guessing the automated process would not be essential until I can manually run freshclam and see it connecting to valid hosts and then update itself w/o any errors. What am I doing wrong? -- Carlos Williams Linux System Engineer IDE Orlando - PEO STRI - US. Army [EMAIL PROTECTED] _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html