I'm on a local network, without proxy. When the client does : wget
http://<mirror private_ip>/my_repository/main.cvd, it works fine.
My server web is used for other services and I need to use a specific directory
(http://<mirror ip>/my_repository/main.cvd) and not the clamAv repository...
De : Del Monte Paolo <[email protected]>
À : ClamAV users ML <[email protected]>
Envoyé le : Lundi 26 janvier 2015 10h17
Objet : [clamav-users] R: Need help to use a local server for updating
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:[email protected]] Per conto di
stef stef
Inviato: lunedì 26 gennaio 2015 9.44
A: [email protected]
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
_______________________________________________
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