Hello,
Here the config:
# client server
DatabaseDirectory /var/lib/clamav
UpdateLogFile /var/log/freshclam.log
LogTime yes
LogVerbose yes
LogSyslog yes
LogRotate yes
PidFile /var/run/freshclam.pid
DatabaseOwner clamupdate
AllowSupplementaryGroups yes
DatabaseMirror clamav.clamavsrv.tk
ScriptedUpdates no
# Mirror Server
DatabaseDirectory /var/www/html/clamav.clamavsrv/public_html
UpdateLogFile /var/log/clamav/freshclam.log
LogTime yes
LogVerbose yes
LogSyslog yes
LogRotate yes
PidFile /var/run/freshclam.pid
DatabaseOwner clam
AllowSupplementaryGroups yes
#
Firewall port 80 y 53 TCP is OPEN.
Any help please.!!?
Regards,
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@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?
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
--
envialosimple.com <http://www.envialosimple.com>
Emanuel Gonzalez
IT / Departamento Emails
emanuel.gonza...@donweb.com <mailto:emanuel.gonza...@donweb.com>
www.envialosimple.com <http://www.envialosimple.com>
by donweb <http://www.envialosimple.com>
Nota de confidencialidad: Este mensaje y archivos adjuntos al mismo son
confidenciales, de uso exclusivo para el destinatario del mismo. La
divulgación y/o uso del mismo sin autorización por parte de DonWeb.com
queda prohibida.
DonWeb.com no se hace responsable del mensaje por la falsificación y/o
alteración del mismo.
De no ser Ud el destinatario del mismo y lo ha recibido por error, por
favor, notifique al remitente y elimínelo de su sistema.
Confidentiality Note: This message and any attachments (the message) are
confidential and intended solely for the addressees. Any unauthorised
use or dissemination is prohibited by DonWeb.com.
DonWeb.com shall not be liable for the message if altered or falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender
Nota de Confidencialidade: Esta mensagem e seus eventuais anexos podem
conter dados confidenciais ou privilegiados.
Se você os recebeu por engano ou não é um dos destinatários aos quais
ela foi endereçada, por favor destrua-a e a todos os seus eventuais
anexos ou copias realizadas, imediatamente.
É proibida a retenção, distribuição, divulgação ou utilização de
quaisquer informações aqui contidas.
Por favor, informenos sobre o recebimento indevido desta mensagem,
retornando-a para o autor.
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml