Hello Tom M, 1) I did sudo mv /var/lib/clamav/mirrors.dat /home/user sudo /etc/init.d/clamav-freshclam stop sudo freshclam ClamAV update process started at Fri Dec 15 19:45:53 2017 main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net WARNING: getpatch: Can't download daily-24011.cdiff from database.clamav.net ERROR: getpatch: Can't download daily-24011.cdiff from database.clamav.net WARNING: Incremental update failed, trying to download daily.cvd Downloading daily.cvd [100%] WARNING: Mirror 193.92.150.194 is not synchronized. 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.
2) Then I did: sudo nano /etc/clamav/freshclam.conf # and in freshclam.conf changed "DatabaseMirror db.local.clamav.net" to "DatabaseMirror db.bg.clamav.net" (I am from Bulgaria) # It worked! I'll try to look it out in the Archives. But even if it was there, I wouldn't know due to lack of knowledge and experience. I guess "WARNING: Mirror 193.92.150.194 is not synchronized." means that freshclam cannot find my country database. Thanks again Tom M. You are the best! Merry Christmas and Happy New Year! Best regards, George 2017-12-15 16:20 GMT+02:00 Thomas McCourt (tmccourt) <[email protected]>: > Hello George, > > > 1) Did you delete mirror.dat, then re-run freshclam? > 2) Did you include in your freshclam.conf your countryside in the > DatabaseMirror section? Db.xy.clamav.net? Once doing that, run freshclam. > > > Thanks, > > > Tom M > > > > > On 12/15/17, 4:52 AM, "clamav-users on behalf of George" < > [email protected] on behalf of [email protected]> > wrote: > > >Hi Dennis, > > > >Thanks again for your answer. > >I just checked and clamav can read the main.cvd and the daily.cvd. It > >cannot write. I hope that's what you meant. > >Otherwise, when I tried a manual update. I did what follows but, as you > can > >see, to no avail: > > > >user@virus:~$ sudo /etc/init.d/clamav-freshclam stop > >[ ok ] Stopping clamav-freshclam (via systemctl): > clamav-freshclam.service. > >user@virus:~$ sudo freshclam > >ClamAV update process started at Fri Dec 15 11:46:39 2017 > >main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: > >sigmgr) > >WARNING: getpatch: Can't download daily-24011.cdiff from > db.local.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > db.local.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > db.local.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > db.local.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > db.local.clamav.net > >WARNING: Incremental update failed, trying to download daily.cvd > >WARNING: Can't download daily.cvd from db.local.clamav.net > >Trying again in 5 secs... > >... > >ClamAV update process started at Fri Dec 15 11:47:07 2017 > >main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: > >sigmgr) > >WARNING: getpatch: Can't download daily-24011.cdiff from > database.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > database.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > database.clamav.net > >WARNING: getpatch: Can't download daily-24011.cdiff from > database.clamav.net > >ERROR: getpatch: Can't download daily-24011.cdiff from > database.clamav.net > >WARNING: Incremental update failed, trying to download daily.cvd > >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. > > > >I don't know what to do here. > > > >Best regards, > >George > > > >2017-12-14 18:53 GMT+02:00 Dennis Peterson <[email protected]>: > > > >> Did you make sure permissions are set so that the clam user can read > them? > >> > >> > >> > >> On 12/14/17 8:49 AM, George wrote: > >> > >>> Hi, > >>> > >>> I mistakingly copied this twice in the email. But I did it as in your > >>> reply. that's not the problem. > >>> > >>> Thanks, > >>> George > >>> > >>> 2017-12-14 18:39 GMT+02:00 Dennis Peterson <[email protected]>: > >>> > >>> you are downloading main.cvd twice. Change one of the wget commands to > >>>> download daily.cvd. > >>>> > >>>> Example: > >>>> > >>>> wget database.clamav.net/main.cvd > >>>> sudo cp main.cvd /var/lib/clamav > >>>> wget database.clamav.net/daily.cvd > >>>> sudo cp daily.cvd /var/lib/clamav > >>>> > >>>> > >>>> dp > >>>> > >>>> On 12/14/17 8:28 AM, George wrote: > >>>> > >>>> Dear All, > >>>>> > >>>>> I am still getting the message that my database is more than 7 days > >>>>> old. I > >>>>> successfully downloaded and updated main.cvd and daily.cvd manually, > as > >>>>> follows: > >>>>> > >>>>> wget database.clamav.net/main.cvd > >>>>> sudo cp main.cvd /var/lib/clamav > >>>>> wget database.clamav.net/main.cvd > >>>>> sudo cp daily.cvd /var/lib/clamav > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>> clamav-users mailing list > >>>> [email protected] > >>>> 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 > >>> [email protected] > >>> 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 > >> [email protected] > >> 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 > >[email protected] > >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 > [email protected] > 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 [email protected] 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
