Thanks for this. So, now I write on my freshclam.conf :PrivateMirror 
192.168.0.200
And no more "Error can't find Name or service not known"
But, my client don't find .cvd :WARNING: main.cld not found on remote server

Now, how indicate to the client that it have to find files *cvd on a special 
repository on the server ? 
Thnaks again !
      De : Dennis Peterson <denni...@inetnw.com>
 À : ClamAV users ML <clamav-users@lists.clamav.net> 
 Envoyé le : Lundi 26 janvier 2015 19h18
 Objet : Re: [clamav-users] Need help to use a local server for updating
   
The documentation in freshclam.conf for private mirrors says:

# This option allows you to easily point freshclam to private mirrors.
# If PrivateMirror is set, freshclam does not attempt to use DNS
# to determine whether its databases are out-of-date, instead it will
# use the If-Modified-Since request or directly check the headers of the
# remote database files. For each database, freshclam first attempts
# to download the CLD file. If that fails, it tries to download the
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo
# and ScriptedUpdates. It can be used multiple times to provide
# fall-back mirrors.
# Default: disabled
#PrivateMirror mirror1.mynetwork.com
#PrivateMirror mirror2.mynetwork.com

Note that there is no "http://"; protocol in the server name.

Your freshclam.conf says:

On my client, I've changed my freesclam.conf with :DatabaseMirror  
http://IP/my_repository

You are using DatabaseMirror, not PrivateMirror. Something we're sure of is 
wrong.

dp




On 1/26/15 12:43 AM, stef stef wrote:
> Hi,
> I need help to configure freeshclam.conf on a client with a local server.
> On my local server, i use  clamdownloader.pl by Frederic Vanden Poel
>  I've downloaded the clamAV update in my webserver Repository and the script 
>works fine.  I can see the *.cvd file with url :      http://IP/my_repository
>
> On my client, I've changed my freesclam.conf with :DatabaseMirror  
> http://IP/my_repository
>
> But when I launch freshclam I've an error :WARNING: Can't download main.cvd 
> from http://IP/my_repository
>
> I've tried without http://, without DNSDatabaseInfo (how to configure this 
> value ?).
> I've tried to change user on repository IP/my_repository with www.data and 
> with clamav.
> Here's my freshclam.conf :
> # Automatically created by the clamav-freshclam postinst# Comments will get 
> lost when you reconfigure the clamav-freshclam package
> DatabaseOwner clamavUpdateLogFile /var/log/clamav/freshclam.logLogVerbose 
> falseLogSyslog falseLogFacility LOG_LOCAL6LogFileMaxSize 0LogRotate 
> trueLogTime trueForeground falseDebug falseMaxAttempts 5DatabaseDirectory 
> /var/lib/clamav#DNSDatabaseInfo current.cvd.clamav.net#DNSDatabaseInfo 
> 192.168.0.200AllowSupplementaryGroups falsePidFile 
> /var/run/clamav/freshclam.pidConnectTimeout 30ReceiveTimeout 30TestDatabases 
> yesScriptedUpdates yes# Check for new database 24 times a dayChecks 
> 24DatabaseMirror http://192.168.0.200/SOS/TPs/clamAv
>
> Any idea to help me ?Thanks a lot !
> Stéphanie(Sorry for my bad english).
>
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

  
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to