You are not logged in.

#1 2017-06-22 20:39:08

Marcin
Member
Registered: 2015-08-29
Posts: 61

[SOLVED] freshclam stops

I use clamav from time to time to make sure my pc is not infected and is not infectious. I usually do a scan once a week using the latest and the newest data base which I download using freshclam. Unfortunately for last few weeks it is impossible. It says my main db is updated and then daily db is downloaded. After downlading few items it sops after SLOWLY !!! downloading daily-23454.cdiff My terminal displays this:

main.cld is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily-23447.cdiff [100%]
Downloading daily-23448.cdiff [100%]
Downloading daily-23449.cdiff [100%]
Downloading daily-23450.cdiff [100%]
Downloading daily-23451.cdiff [100%]
Downloading daily-23452.cdiff [100%]
Downloading daily-23453.cdiff [100%]
Downloading daily-23454.cdiff [100%]

My cpu fan starts making noise but that is everything. I was trying to find out what was wrong searching few forums. Found some information relating mirror list which looks like this:

  GNU nano 2.8.4                      Plik: /var/lib/clamav/mirrors.dat                                  

^C}"LY^@^@^@^@^A^@^@^@^B^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^G^@G}$

It looks like a joke. I tried to re-install the latest clamav but it does not help. I shall try to remove it and install lower version. Have the same issue on another machine.

Last edited by Marcin (2017-06-22 22:40:58)

Offline

#2 2017-06-22 21:42:00

smudge
Member
Registered: 2011-03-20
Posts: 158

Re: [SOLVED] freshclam stops

In /etc/clamav/freshclam.conf.sample you'll find:

# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# You can use db.XY.ipv6.clamav.net for IPv6 connections.
#DatabaseMirror db.XY.clamav.net

So adding a couple of database mirrors to your /etc/clamav/freshclam.conf should help.

Last edited by smudge (2017-06-22 21:42:30)

Offline

#3 2017-06-22 21:47:48

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] freshclam stops

Try deleting the files inside '/var/lib/clamav/' and run freshclam again. I find that every once in a while freshclam is unable to perform the updates and gets stuck using 100% apparently doing nothing and deleting the existing files usually does the trick for me.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2017-06-22 22:20:02

Marcin
Member
Registered: 2015-08-29
Posts: 61

Re: [SOLVED] freshclam stops

Thank you R00kie and smudge. I first decided to do fresh re-instal. I also removed /var/lib/clamav. Freshclam is currently downloading database after reporting several servers it could not connect with. The process which is now coming to the end was VERY SLOW. Finally it ended successfully.  See below:

ClamAV update process started at Thu Jun 22 22:54:30 2017
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 212.7.0.71)
Trying host database.clamav.net (158.129.196.3)...
nonblock_connect: connect timing out (30 secs)
Can't connect to port 80 of host database.clamav.net (IP: 158.129.196.3)
Trying host database.clamav.net (130.133.110.67)...
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 23498, sigs: 1737652, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 304, sigs: 63, f-level: 63, builder: neo)
Database updated (6303964 signatures) from database.clamav.net (IP: 130.133.110.67)
WARNING: Clamd was NOT notified: Can't connect to clamd through /var/lib/clamav/clamd.sock: No such file or directory

I may also try to check it with different countries codes (as advised) I am now travelling but this problem started before my journey. It seems that Clamav has got severe problems with it's mirrors. It happened before but never for so long. Let me test my new Clamav install before marking this post as solved.

Offline

#5 2017-06-22 22:40:23

Marcin
Member
Registered: 2015-08-29
Posts: 61

Re: [SOLVED] freshclam stops

SOLVED - THANKS

/home/marcin/Pobrane/eicar.com.txt: Eicar-Test-Signature FOUND

----------- SCAN SUMMARY -----------
Known viruses: 6298414
Engine version: 0.99.2
Scanned directories: 0
Scanned files: 1
Infected files: 1
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 11.440 sec (0 m 11 s)

Offline

Board footer

Powered by FluxBB