[clamav-users] Local Mirror error "Can't download daily.cvd"
Reindl Harald
h.reindl at thelounge.net
Thu Dec 7 11:37:20 UTC 2017
Am 07.12.2017 um 12:27 schrieb Emanuel:
> Here the config:
> DatabaseDirectory /var/lib/clamav
> DatabaseMirror clamav.clamavsrv.tk
> DatabaseDirectory /var/www/html/clamav.clamavsrv/public_html
>
> Firewall port 80 y 53 TCP is OPEN
for me it is still not clear if that machine should update the local
mirror *or use* the local mirror and in case you only want to have the
signatures in /var/www/html/clamav.clamavsrv/public_html how port 80
should be relevant at all
in any case "DatabaseDirectory" twice is not very smart
> El 06/12/17 a las 16:51, Yuri escribió:
>> What is the in freshclam.conf?
>>
>>
>> 06.12.2017 23:36, Emanuel пишет:
>>> through wget the download works
>>>
>>> wget clamav.clamavsrv/main.cvd
>>> --2017-12-06 13:35:28-- http://clamav.clamavsrv.tk/main.cvd
>>> Resolviendo clamav.clamavsrv.tk (clamav.clamavsrv.tk)... 168.181.185.235
>>> Conectando con clamav.clamavsrv.tk
>>> (clamav.clamavsrv.tk)[168.181.185.235]:80... conectado.
>>> Petición HTTP enviada, esperando respuesta... 200 OK
>>> Longitud: 117892267 (112M)
>>> Grabando a: “main.cvd.1”
>>>
>>> but freshclam command not work
>>>
>>> ClamAV update process started at Wed Dec 6 13:36:11 2017
>>> main.cld is up to date (version: 58, sigs: 4566249, f-level: 60,
>>> builder: sigmgr)
>>> ERROR: Can't download daily.cvd from clamav.clamavsrv
>>> Giving up on clamav.clamavsrv.tk...
>>> Update failed. Your network may be down or none of the mirrors listed
>>> in /etc/freshclam.conf is working. Check
>>> http://www.clamav.net/doc/mirrors-faq.html for possible reasons.
>>>
>>>
>>> El 06/12/17 a las 13:30, Emanuel escribió:
>>>> No error in the apache logs
>>>>
>>>> should I open some other port besides 80?
>>>>
>>>>
>>>> El 06/12/17 a las 12:51, Yuri escribió:
>>>>> Apache's error.log?
>>>>>
>>>>>
>>>>> 06.12.2017 21:23, Emanuel пишет:
>>>>>> Hello.!!
>>>>>>
>>>>>> i configure a local mirror, but the server client not download the
>>>>>> daily.cvd.
>>>>>>
>>>>>> #### Apache Local Mirror config
>>>>>>
>>>>>> <VirtualHost *:80>
>>>>>> ServerAlias clamavsrv www.clamavsrv
>>>>>> ServerAlias clamav.clamavsrv
>>>>>> ServerAdmin webmaster at clamavsrv
>>>>>> DocumentRoot /home/clamavdb/public_html
>>>>>> ServerName www.clamavsrv
>>>>>> CustomLog domlogs/clamavdb-access_log combined
>>>>>> LogFormat "%{%s}t %B ." bytes_count
>>>>>> CustomLog domlogs/clamavdb-bytes_log bytes_count
>>>>>> #ScriptAlias /cgi-bin/ /home/clamavdb/public_html/cgi-bin/
>>>>>>
>>>>>> /home/clamavdb/public_html] # ll *cvd
>>>>>> -rw-r--r-- 1 clamavdb clamavdb 153232 dic 6 11:28 bytecode.cvd
>>>>>> -rw-r--r-- 1 clamavdb clamavdb 43290834 dic 6 11:28 daily.cvd
>>>>>> -rw-r--r-- 1 clamavdb clamavdb 117892267 dic 6 11:26 main.cvd
>>>>>>
>>>>>> ####
>>>>>>
>>>>>> In the client server i see this error:
>>>>>>
>>>>>> freshclam
>>>>>> ClamAV update process started at Wed Dec 6 12:21:45 2017
>>>>>> main.cld is up to date (version: 58, sigs: 4566249, f-level: 60,
>>>>>> builder: sigmgr)
>>>>>> WARNING: Can't download daily.cvd from clamav.clamavsrv
>>>>>> Trying again in 5 secs...
>>>>>>
>>>>>> telnet clamav.clamavsrv 80
>>>>>> Trying 192.x.x.x...
>>>>>> Connected to clamav.clamavsrv.
>>>>>> Escape character is '^]'.
>>>>>>
>>>>>> #### freshclam.conf
>>>>>>
>>>>>> DatabaseMirror clamav.clamavsrv
>>>>>>
>>>>>> ScriptedUpdates no
>>>>>>
>>>>>>
>>>>>>
>>>>>> any helps?
More information about the clamav-users
mailing list