Fulda, Paul (Mission Systems) wrote:
> I'm running ClamAV on a lot of clients on my local network. Can I mirror
> the database locally so that each client doesn't have to download it
> from your servers? 
> 
> Sure, install a proxy server and then configure your freshclam clients
> to use it (watch for the HTTPProxyServer parameter in man
> freshclam.conf). Alternatively, you can configure a local webserver on
> one of your machines (say machine1.mylan) and let freshclam download the
> *.cvd files from http://database.clamav.net to the webserver's
> DocumentRoot. Finally, change freshclam.conf on your clients so that it
> reads:
> DatabaseMirror machine1.mylan
> First the database will be downloaded to the local webserver and then
> the other clients on the network will update their copy of the database
> from it. 
> 
> 
> I did read this but I can not seem to get it to work.  We do have a web
> server running on our network.  It is an apache server.  Do I just stick
> the .cvd files in the /var/www/html directory (/var/www/html is our root
> dir)?  What should the freshclam.conf file look like?
> 
> 
> Thanks!
> 

>Since /var/www/html is your DocumentRoot you should just be able to dump
>the database files there.  The freshclam.conf on your server would have
>"DatabaseDirectory /var/www/html" in it and the freshclam.conf on your
>clients would have "DatabaseMirror yourwebserver.yourdomain.com"

>Steve
>_______________________________________________
>http://lurker.clamav.net/list/clamav-users.html

OK, i am trying to do this with clamav 88.2. The problem i am having is
clamav server does not have apache (or any web server running on it).
The clamav server is OES-Linux server (novell distro based on SLES 9). I
also have another OES-Linux server that is running a web server. So,
when i change the freshclam.conf on the clamav server
"DatabaseDirectory" to http://dnsaddress.here/folder (address of the
other oes-linux server that is running apache2) and then try to run
"freshclam" on the clamav server, i get this error: "can't change dir to
http://dnsaddress.here/folder";. Is this way even possible or must it be
a directory entry (like /srv/www/htdocs)? If it has to be in the form of
/srv/www/htdocs, can it be a smb form (like smb://username:[EMAIL PROTECTED] to
cvd's)? Any help is appreciated.

Chris
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to