Hello George, I will look into those mirrors to see if they are down. IF a mirror is not working, it should look to find another one. You could also try 'wget database.clamav.net/main.cvd' To see if it manually downloads it that way, then drop the file in the location
We have been working hard to correct a lot of mirror issues, but as you can see- we still have a long way to go to make mirrors work better. It is my hope that I can get the mirrors more stable for everyone moving forward. Thank you, Tom M On 12/6/17, 7:14 AM, "clamav-users on behalf of George" <clamav-users-boun...@lists.clamav.net on behalf of gdparlic...@gmail.com> wrote: >Dear All, > >How do I update my ClamAV database? I can provide the following details >regarding my problem: >1. I run ClamAV 0.99.2/24010; >2. After starting clamscan, I get "The virus database is older than 7 days! >Please update it as soon as possible." >3. Ran "sudo /etc/init.d/clamav-freshclam stop; sudo freshclam -v to >manually update the ClamAV database, however; >4. The following error keeps repeating: > >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >... >Giving up on database.clamav.net... > >5. So I restarted the ClamAV daemon: >user@virus:~$ sudo /etc/init.d/clamav-freshclam start >[ ok ] Starting clamav-freshclam (via systemctl): clamav-freshclam.service. > >After reading the documentation (https://www.clamav.net/documents/) and the >Archives and finding no solution, I decided to ask the community. >Please find attached the full Clamscan error log and my trial to update the >database manually. Please find the log output below (between #START and >#END). Thanks in advance. > >Best regards, >George > >#START >user@virus:~$ freshclam >ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check >permissions!). >ERROR: Problem with internal logger (UpdateLogFile = >/var/log/clamav/freshclam.log). >user@virus:~$ man clamscan >user@virus:~$ clamscan -r --max-filesize=5 -i --remove /home/user >LibClamAV Warning: ************************************************** >LibClamAV Warning: *** The virus database is older than 7 days! *** >LibClamAV Warning: *** Please update it as soon as possible. *** >LibClamAV Warning: ************************************************** > >----------- SCAN SUMMARY ----------- >Known viruses: 9515915 >Engine version: 0.99.2 >Scanned directories: 9277 >Scanned files: 73380 >Infected files: 0 >Total errors: 2 >Data scanned: 0.00 MB >Data read: 44128.53 MB (ratio 0.00:1) >Time: 324.804 sec (5 m 24 s) >user@virus:~$ sudo /etc/init.d/clamav-freshclam stop >[sudo] password for user: >[ ok ] Stopping clamav-freshclam (via systemctl): clamav-freshclam.service. >user@virus:~$ freshclam >ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check >permissions!). >ERROR: Problem with internal logger (UpdateLogFile = >/var/log/clamav/freshclam.log). >user@virus:~$ sudo freshclam -v >Current working dir is /var/lib/clamav >Max retries == 5 >ClamAV update process started at Tue Nov 21 11:07:07 2017 >Using IPv6 aware code >Querying current.cvd.clamav.net >TTL: 1748 >Software version from DNS: 0.99.2 >main.cvd version from DNS: 58 >main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: >sigmgr) >daily.cvd version from DNS: 24059 >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >WARNING: Incremental update failed, trying to download daily.cvd >Whitelisting short-term blacklisted mirrors >Retrieving http://db.local.clamav.net/daily.cvd >Ignoring mirror 193.92.150.194 (due to previous errors) >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: Can't download daily.cvd from db.local.clamav.net >Trying again in 5 secs... >ClamAV update process started at Tue Nov 21 11:07:18 2017 >Using IPv6 aware code >Querying current.cvd.clamav.net >TTL: 1736 >Software version from DNS: 0.99.2 >main.cvd version from DNS: 58 >main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: >sigmgr) >daily.cvd version from DNS: 24059 >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >WARNING: Incremental update failed, trying to download daily.cvd >Whitelisting short-term blacklisted mirrors >Retrieving http://db.local.clamav.net/daily.cvd >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: Can't download daily.cvd from db.local.clamav.net >Trying again in 5 secs... >ClamAV update process started at Tue Nov 21 11:07:23 2017 >Using IPv6 aware code >Querying current.cvd.clamav.net >TTL: 1731 >Software version from DNS: 0.99.2 >main.cvd version from DNS: 58 >main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: >sigmgr) >daily.cvd version from DNS: 24059 >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >WARNING: Incremental update failed, trying to download daily.cvd >Whitelisting short-term blacklisted mirrors >Retrieving http://db.local.clamav.net/daily.cvd >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: Can't download daily.cvd from db.local.clamav.net >Trying again in 5 secs... >ClamAV update process started at Tue Nov 21 11:07:29 2017 >Using IPv6 aware code >Querying current.cvd.clamav.net >TTL: 1726 >Software version from DNS: 0.99.2 >main.cvd version from DNS: 58 >main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: >sigmgr) >daily.cvd version from DNS: 24059 >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >WARNING: Incremental update failed, trying to download daily.cvd >Whitelisting short-term blacklisted mirrors >Retrieving http://db.local.clamav.net/daily.cvd >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: Can't download daily.cvd from db.local.clamav.net >Trying again in 5 secs... >ClamAV update process started at Tue Nov 21 11:07:34 2017 >Using IPv6 aware code >Querying current.cvd.clamav.net >TTL: 1720 >Software version from DNS: 0.99.2 >main.cvd version from DNS: 58 >main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: >sigmgr) >daily.cvd version from DNS: 24059 >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >Retrieving http://db.local.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >ERROR: getpatch: Can't download daily-24011.cdiff from db.local.clamav.net >WARNING: Incremental update failed, trying to download daily.cvd >Whitelisting short-term blacklisted mirrors >Retrieving http://db.local.clamav.net/daily.cvd >Ignoring mirror 193.92.150.194 (due to previous errors) >ERROR: Can't download daily.cvd from db.local.clamav.net >Giving up on db.local.clamav.net... >ClamAV update process started at Tue Nov 21 11:07:34 2017 >Using IPv6 aware code >Querying current.cvd.clamav.net >TTL: 1720 >Software version from DNS: 0.99.2 >main.cvd version from DNS: 58 >main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: >sigmgr) >daily.cvd version from DNS: 24059 >Retrieving http://database.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net >Retrieving http://database.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net >Retrieving http://database.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net >Retrieving http://database.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net >Retrieving http://database.clamav.net/daily-24011.cdiff >Ignoring mirror 193.92.150.194 (due to previous errors) >ERROR: getpatch: Can't download daily-24011.cdiff from database.clamav.net >WARNING: Incremental update failed, trying to download daily.cvd >Whitelisting short-term blacklisted mirrors >Retrieving http://database.clamav.net/daily.cvd >Ignoring mirror 193.92.150.194 (due to previous errors) >ERROR: Can't download daily.cvd from database.clamav.net >Giving up on database.clamav.net... >Update failed. Your network may be down or none of the mirrors listed in >/etc/clamav/freshclam.conf is working. Check http://www.clamav.net/doc/ >mirrors-faq.html for possible reasons. >user@virus:~$ sudo /etc/init.d/clamav-freshclam start >[ ok ] Starting clamav-freshclam (via systemctl): clamav-freshclam.service. >user@virus:~$ > >#END >_______________________________________________ >clamav-users mailing list >clamav-users@lists.clamav.net >http://lists.clamav.net/cgi-bin/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 http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml