Noel Jones wrote:
> At 02:20 PM 7/13/2007, Roberto Ullfig wrote:
>> I just upgraded to 0.91 on 23 linux servers. They should all look the
>> same but 3 of them are using the old cvd files (daily.cvd and main.cvd)
>> while the other 20 are using the new .inc directories. It's probably
>> been like this prior to 0.91. I'd like to get them all the same. I tried
>> deleting the cvd files and creating .inc directories but it doesn't like
>> that and creates the cvd files anyway. What is creating the cvd files
>> (as opposed to .inc directories) and why do these three servers act
>> differently. Same freshclam.conf file and same clamd.conf file
>> everywhere - installed from same directory, etc.... Are they perhaps
>> contacting different db servers?
> 
> The first time the virus database is loaded (or when replacing a 
> corrupted database) the .cvd is used. When subsequent scripted 
> updates are applied, the .cvd is unpacked into an .inc directory and 
> the updates are applied therein.  Versions prior to 0.90 always used 
> the .cvd because they didn't support scripted updates and the .inc 
> directory structure.
> 
> Your servers that just have a .cvd likely already had the current 
> daily.cvd before they were upgraded.  A .inc directory should be 
> created automatically next time a scripted update is applied.  Any 
> attempt to "force" creation of a .inc directory is unlikely to be successful.
> 
> 
Strange, I run a script called hourly by cron and here is a snippet of
what I have in /var/lib/clamav on one of my servers:

drwxr-xr-x 2 amavis amavis    4096 2007-07-13 13:15 daily.inc
-rw-r--r-- 1 amavis amavis 9351789 2007-06-12 17:11 main.cvd
-rw------- 1 amavis amavis    1352 2007-07-13 13:07 mirrors.dat

As you can see, this particular server has one of each (daily.inc &
main.cvd).  I have no idea why this is, since my other servers have
daily.inc and main.inc.  The server that has main.cvd is running Fedora
7 and ClamAV 0.91.

uname -a
Linux mail.inetmsg.com 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT
2007 i686 i686 i386 GNU/Linux

which clamd
/usr/local/sbin/clamd

/usr/local/sbin/clamd -V
ClamAV 0.91/3663/Fri Jul 13 12:16:34 2007

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to