On 2009-04-29 13:54, Velda Midanovic wrote:
> I am having a problem with ClamAV.
>
> It is working great in combination with MailScanner, so no problem there.
>
> It is on RH4U5 server.
>
> BUT
>
> It is filling up /usr/local/share/clamav folder with subfolders like this :
>
> drwxr-xr-x  2 clamav clamav     4096 Apr 13 20:14
> clamav-ff1b8054ca4da18830a21a1d1926faea
>
> drwxr-xr-x  2 clamav clamav     4096 Apr 13 02:33
> clamav-ff308f1b0172692d11d8fcfc10acfbff
>
> drwxr-xr-x  2 clamav clamav     4096 Apr  4 06:18
> clamav-ff6e299d847b7d8c0431e2171761f588
>
> drwxr-xr-x  2 clamav clamav     4096 Apr 23 07:01
> clamav-ff97ffcfe89c09096003ac3934f2418a
>
> drwxr-xr-x  2 clamav clamav     4096 Mar  6 02:54
> clamav-fffa3aecbc960a3e99a66058a18e6c3d
>
>  
>
> Also in the same folder are files :
>
> -rw-r--r--  1 clamav clamav   974848 Feb 26 14:42 daily.cld
>
> -rw-r--r--  1 clamav clamav 44391424 Feb 18 12:22 main.cld
>
> -rw-------  1 clamav clamav      104 Apr 29 10:55 mirrors.dat
>   

You should keep these, although removing them causes no harm, freshclam
will just need to
download the entire database next time it is run (it cna take a while if
you're on a slow connection).

>  
>
> In each of the subfolders is something like this :
>
> -rw-r--r--  1 clamav clamav   17992 Feb  5 23:27 COPYING
>
> -rw-r--r--  1 clamav clamav     214 Feb  5 23:27 daily.cfg
>
> -rw-r--r--  1 clamav clamav   25954 Feb  5 23:27 daily.db
>
> -rw-r--r--  1 clamav clamav    5554 Feb  5 23:27 daily.fp
>
> -rw-r--r--  1 clamav clamav    5904 Feb  5 23:27 daily.ftm
>
> -rw-r--r--  1 clamav clamav   14296 Feb  5 23:27 daily.hdb
>
> -rw-r--r--  1 clamav clamav    1098 Feb  5 23:27 daily.hdu
>
> -rw-r--r--  1 clamav clamav     762 Feb  5 23:27 daily.ign
>
> -rw-r--r--  1 clamav clamav     713 Feb  5 23:27 daily.info
>
> -rw-r--r--  1 clamav clamav     320 Feb  5 23:27 daily.ldb
>
> -rw-r--r--  1 clamav clamav 4188187 Feb  5 23:27 daily.mdb
>
> -rw-r--r--  1 clamav clamav   26056 Feb  5 23:27 daily.mdu
>
> -rw-r--r--  1 clamav clamav  272178 Feb  5 23:27 daily.ndb
>
> -rw-r--r--  1 clamav clamav    5179 Feb  5 23:27 daily.ndu
>
> -rw-r--r--  1 clamav clamav    3372 Feb  5 23:27 daily.pdb
>
> -rw-r--r--  1 clamav clamav    2088 Feb  5 23:27 daily.wdb
>
> -rw-r--r--  1 clamav clamav    3450 Feb  5 23:27 daily.zmd
>   

Those look like temporary files left behind by freshclam?
Are you using latest ClamAV? (0.95.1) If not try upgrading, it should
fix the problem.


>  
>
> The problem is that my /usr partition is 90% full, and this folder is taking
> up 4,8Gb of space.
>
> So my question is : can I delete some of it (there are over 1000
> subfolders), or should I move it to another place? Does ClamAV need this to
> operate as it should? WHAT are thise things? My guess is some sort of
> updates to AV database (so can I remove old ones?).
>   

You can safely delete the clamav- subfolders in /usr/local/share/clamav.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to