Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
ClamAV not updating virus databases
View previous topic :: View next topic  
Author Message
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Mon Mar 08, 2021 11:11 pm    Post subject: ClamAV not updating virus databases Reply with quote

Hi all,

Are you guys getting the same errors of ClamAV not beeing able to update the virus databases?

I have SMS64 2.0.9 running ClamAV 0.99.2 and the errors are:

Code:
ERROR: getpatch: Can't download daily-26100.cdiff from db.us.clamav.net
ERROR: Can't download daily.cvd from db.us.clamav.net
ERROR: getpatch: Can't download daily-26100.cdiff from database.clamav.net
ERROR: Can't download daily.cvd from database.clamav.net


Already tried to delete mirrors.dat and/or bytecode.cld with no luck.
Also deleted all files in /usr/share/clamav then launched
freshclam

But the response was:

Code:
WARNING: getfile: Unknown response from db.us.clamav.net (IP: 104.16.218.84)
WARNING: Can't download main.cvd from db.us.clamav.net
Trying again in 5 secs...
[/i]

Any help will be much appreciated.
Thanks.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Thu Mar 11, 2021 9:57 pm    Post subject: Reply with quote

Hi,

well it seems that database.clamav.net is under cloudflare so a simple curl/wget wouldn't work, to bypass DDoS protection..

you can download manually and then try to update, from

https://database.clamav.net/main.cvd
https://database.clamav.net/daily.cvd
https://database.clamav.net/bytecode.cvd

although might need a newer version of freshclam..

I'll provide update packages from latest clamav...

For what is worth, I already have plans to reboot SMS to version SMS-3 , dropping qt3 and kde3 obviously , main plan is for no DE at first, to have a working SMS up to date...


regards
gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Thu Mar 11, 2021 10:15 pm    Post subject: Reply with quote

Thank you very much.

I look forward to see SMS-3 running.
Back to top
View user's profile Send private message
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Thu Aug 19, 2021 7:38 pm    Post subject: Reply with quote

Hi all,

Unfortunately manual update is not working anymore.
I believe somehow /var/run/clamav-milter/milter.sock is corrupted because I get the following message:
Quote:

...postfix/cleanup[27986]: 23CC0410E475: milter-reject: END-OF-MESSAGE from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later;...


After restarting rc.clamav and the milter socket is created, the server comes back to normal for a while, than again...
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Mon Aug 23, 2021 9:29 am    Post subject: Reply with quote

Hi,

have you try to upgrade to latest clamav from SMS repos?

Code:
slapt-get -u
slapt-get -i clamav

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Tue Aug 24, 2021 9:07 am    Post subject: Reply with quote

I did now, and it worked.

Thank you very much!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional