<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
tiene que comentar<BR>
&nbsp;<BR>
#clamd_local <BR><BR><BR>Network/System Administrator<BR><SPAN style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 11pt">&nbsp;<IMG src="http://counter.li.org/cgi-bin/certificate.cgi/502790"></SPAN><BR>Linux Counter #502790<BR><BR><BR><BR>&nbsp;<BR>
<HR id=stopSpelling>
From: fjrojast@hotmail.com<BR>To: centos-es@centos.org<BR>Date: Thu, 27 May 2010 19:28:10 -0500<BR>Subject: [CentOS-es] squid+clamv: clamd no funciona<BR><BR>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
<BR><BR>Estoy en centos, con kernel 2.6.18-194.3.1.el5xen.<BR><BR><BR>Según yo tengo ya compilado sin errores el squidclamav pues lo descargué de http://squidclamav.darold.net. Instalé los srpm de squid y con yum instalé curl, clamav y clamd. de manera que: <BR><BR>rpm -q clamav clamd curl squid <BR>clamav-0.96.1-1.el5.rf<BR>clamd-0.96.1-1.el5.rf<BR>curl-7.15.5-9.el5<BR>curl-7.15.5-9.el5<BR>squid-2.6.STABLE21-6.el5<BR><BR>netstat -puta me dice para clamd:<BR>(netstat dice: (tcp 0 0 localhost.local:dyna-access *:* LISTEN 1365/clamd)<BR><BR>Squid está trabajando perfectamente.<BR><BR>El problema es que squidclamav no conecta con clamd por ningún lado.<BR>las opciones de configuración que he puesto han sido:<BR><BR>para conectar por socket:<BR>clamd_local /var/run/clamav/clamd.sock<BR><BR>para conectar por ip<BR>clamd_ip 192.168.1.252, 127.0.0.1<BR>clamd_port 3310<BR><BR>y en el primer caso /var/log/squid/squidclamav.log me dice<BR>ERROR Can't connect to clamd on local socket /tmp/clamd.<BR>ERROR Can't connect to Clamd daemon, fallback to Squid.<BR><BR>en el segundo<BR>ERROR Timeout connecting to 192.168.1.252:3310.<BR>ERROR Can't lookup hostname of 127.0.0.1<BR><BR>haciendo la prueba desde la linea de comandos squiclamav, aparece lo siguiente:<BR>[root@router ~]# squidclamav<BR>SquidClamav v5.3 running in interactive mode<BR>Fri May 28 18:26:16 2010 LOG Anonymizing User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)<BR>Fri May 28 18:26:16 2010 LOG SquidClamav v5.3 (PID 1903) started<BR>http://www.slashdot.org/ 192.168.1.3/mypc.domain.dom mylog GET<BR><BR>http://www.eicar.org/download/eicar.com 192.168.1.3 mylog GET<BR><BR>cuando se suponía que me debía dar algo como esto:<BR><BR>Thu ... 2008 LOG Redirecting URL to: http://theproxy.com/cgi-bin/clwarn.cgi?url=http://www.eicar.org/download/eicar.com&amp;source=192.168.1.3&amp;user=mylog&amp;virus=stream:+Eicar-Test-Signature+FOUND<BR>http://theproxy.com/cgi-bin/clwarn.cgi?url=http://www.eicar.org/download/eicar.com&amp;source=192.168.1.3&amp;user=mylog&amp;virus=stream:+Eicar-Test-Signature+FOUND 192.168.1.3 mylog GET<BR><BR><BR><BR><BR>con dmesg he observado que aparece esto:<BR>squidclamav[1605]: segfault at 0000000000000000 rip 0000000000000000 rsp 00007ffff66cccd0 error 14<BR><BR><BR>¿alguna sugerencia para echar a andar esta cosa?<BR><BR><BR>
<HR>
En Messenger están mis contactos <A href="http://www.vivirmessenger.com/">con los que sí tengo contacto</A>                                               <br /><hr />Explore the seven wonders of the world <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>