[clamav-users] R: Need help to use a local server for updating

Del Monte Paolo Paolo.DelMonte at eng.it
Mon Jan 26 09:17:52 UTC 2015


Hi Stef,
Are u sure that the main cvd file is present in your repository? If yes you should check with attention the warning message. It sound like a permission or network problems (proxy?). 
You can perform a connection attempt in this simple way from your linux server:

wget http://<mirror ip>/main.cvd
wget http://<mirror ip>/daily.cvd

May be a good idea to get files directly from clamav repository.

Regards
Paolo

-----Messaggio originale-----
Da: clamav-users [mailto:clamav-users-bounces at lists.clamav.net] Per conto di stef stef
Inviato: lunedì 26 gennaio 2015 9.44
A: clamav-users at lists.clamav.net
Oggetto: [clamav-users] Need help to use a local server for updating

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



More information about the clamav-users mailing list