<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16440"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Resolvido...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>clamd.conf:</FONT></DIV>
<DIV><FONT size=2 face=Arial>LocalSocket 
/var/run/clamav/clamd.sock<BR>#LocalSocket 
/var/run/clamav/clamd.socket</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>[root@centos1 clamav]# l<BR>total 
24<BR>drwxr-xr-x&nbsp; 2 clamav clamav 4096 Jan&nbsp; 2 14:24 .<BR>drwxr-xr-x 41 
root&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Jan&nbsp; 2 14:03 ..<BR>-rw-rw-r--&nbsp; 
1 clamav clamav&nbsp;&nbsp;&nbsp; 5 Jan&nbsp; 2 14:23 
clamd.pid<BR>srw-rw-rw-&nbsp; 1 clamav clamav&nbsp;&nbsp;&nbsp; 0 Jan&nbsp; 2 
14:23 clamd.sock<BR>-rw-r--r--&nbsp; 1 clamav clamav&nbsp;&nbsp;&nbsp; 5 
Jan&nbsp; 2 14:23 freshclam.pid<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>Obrigado</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Claudir</FONT></DIV>
<DIV><FONT size=2 face=Arial>&nbsp;</DIV></FONT>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=lawton.silva@siemens-enterprise.com 
  href="mailto:lawton.silva@siemens-enterprise.com">Lawton Bonnevialle</A> 
</DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=centos-pt-br@centos.org 
  href="mailto:centos-pt-br@centos.org">Portuguese (Brazilian) CentOS mailing 
  list</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 02, 2012 2:07 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [CentOS-pt-br] Clamav + 
  Amavisd</DIV>
  <DIV><FONT size=2 face=Arial></FONT><BR></DIV>Pare o serviço, renomeie os 
  arquivos clamd.sock e clamd.pid para clamd.sock.bkp e clamd.pid.bkp e confira 
  o arquivo de configuração e reinicialize o serviço do Clamav.<BR><BR><BR>On 
  01/02/2012 01:58 PM, Claudir Roberto Leindecker wrote: 
  <BLOCKQUOTE cite=mid:D0B2DE0D3C474865A6D2CCE79728423B@claudirPC type="cite">
    <META name=GENERATOR content="MSHTML 9.00.8112.16440">
    <DIV><FONT size=2 face=Arial>Carinha, já tenho esse 
    diretório....</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT size=2 face=Arial>[root@centos1 clamav]# l<BR>total 
    20<BR>drwxrwxrwx&nbsp; 2 clamav root&nbsp;&nbsp; 4096 Jan&nbsp; 2 12:08 
    .<BR>drwxr-xr-x 41 root&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Jan&nbsp; 2 12:08 
    ..<BR>-rw-rw-r--&nbsp; 1 clamav clamav&nbsp;&nbsp;&nbsp; 5 Jan&nbsp; 2 12:08 
    clamd.pid<BR>srw-rw-rw-&nbsp; 1 clamav clamav&nbsp;&nbsp;&nbsp; 0 Jan&nbsp; 
    2 12:08 clamd.socket<BR>-rw-r--r--&nbsp; 1 clamav clamav&nbsp;&nbsp;&nbsp; 5 
    Jan&nbsp; 2 12:08 freshclam.pid<BR>[root@centos1 clamav]# 
    pwd<BR>/var/run/clamav<BR>[root@centos1 clamav]#</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT size=2 face=Arial>Claudir</FONT></DIV>
    <DIV><FONT size=2 face=Arial><BR></FONT></DIV>
    <BLOCKQUOTE 
    style="BORDER-LEFT: rgb(0,0,0) 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
      <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
      <DIV style="FONT: 10pt arial; BACKGROUND: rgb(228,228,228)"><B>From:</B> 
      <A title=lawton.silva@siemens-enterprise.com 
      href="mailto:lawton.silva@siemens-enterprise.com" 
      moz-do-not-send="true">Lawton Bonnevialle</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A title=centos-pt-br@centos.org 
      href="mailto:centos-pt-br@centos.org" moz-do-not-send="true">Portuguese 
      (Brazilian) CentOS mailing list</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 02, 2012 1:48 
      PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [CentOS-pt-br] Clamav + 
      Amavisd</DIV>
      <DIV><BR></DIV>Boa tarde Claudir;<BR><BR>Crie o diretório 
      <B>/var/run/clamav</B> com usuário root.<BR>Depois reinicialize o serviço 
      do Clamav.<BR>Abraços.<BR><BR><BR>On 01/02/2012 01:30 PM, Claudir Roberto 
      Leindecker wrote: 
      <BLOCKQUOTE cite=mid:96FCCD981A19460CAC738D4DDB01486A@claudirPC 
      type="cite"><PRE wrap="">Boa tarde, necessito mais uma vez o auxilio dos senhores para questão 
relacionada ao uso do Clamav.

Esta com erra abixo no log (Maillog)


ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: No 
such file or directory, retrying (2)
Jan 2 13:16:51 centos1 amavis[25902]: (25902-01) (!)ClamAV-clamd av-scanner 
FAILED: run_av error: Too many retries to talk to /var/run/clamav/clamd.sock 
(Can't connect to UNIX socket /var/run/clamav/clamd.sock: No such file or 
directory) at (eval 77) line 375.\n

Alguem poderia me ajudar afim de solucionar esse erro?

Ja tentei alterar a opção em clamd.conf:
/var/run/clamav/clamd.sock
para
/var/run/clamav/clamd.pid

Mas não tive sucesso.

Como corrigir

Grato 

_______________________________________________
CentOS-pt-br mailing list
<A class=moz-txt-link-abbreviated href="mailto:CentOS-pt-br@centos.org" moz-do-not-send="true">CentOS-pt-br@centos.org</A>
<A class=moz-txt-link-freetext href="http://lists.centos.org/mailman/listinfo/centos-pt-br" moz-do-not-send="true">http://lists.centos.org/mailman/listinfo/centos-pt-br</A>

</PRE></BLOCKQUOTE><BR>
      <DIV class=moz-signature>-- <BR>
      <META name=GENERATOR content="OpenOffice.org 3.2 (Unix)">
      <META name=AUTHOR content="opr179 ">
      <META name=CREATED content=20100629;14170600>
      <META name=CHANGED content=0;0>
      <META name="Info 1" content="">
      <META name="Info 2" content="">
      <META name="Info 3" content="">
      <META name="Info 4" content="">
      <STYLE type=text/css>@page  {margin: 0.79in; }
P {
        MARGIN-BOTTOM: 0.08in
}
A:link {
        so-language: zxx
}
</STYLE>

      <P style="MARGIN-BOTTOM: 0in">Lawton Bonnevialle<FONT 
      size=2><BR></FONT><FONT color=#008080><FONT size=2><B>Siemens Enterprise 
      Communications</B></FONT></FONT> <FONT size=2><BR>Curitiba - Brazil 
      <BR>Email: <A href="mailto:lawton.silva@siemens-enterprise.com" 
      moz-do-not-send="true">lawton.silva@siemens-enterprise.com 
      </A><BR>Phone:+55 (41) 3341 5880<BR>Fax :+55 (41) 3341 
      5594</FONT></P></DIV>
      <P></P>
      <HR>
      _______________________________________________<BR>CentOS-pt-br mailing 
      list<BR><A class=moz-txt-link-abbreviated 
      href="mailto:CentOS-pt-br@centos.org">CentOS-pt-br@centos.org</A><BR><A 
      class=moz-txt-link-freetext 
      href="http://lists.centos.org/mailman/listinfo/centos-pt-br">http://lists.centos.org/mailman/listinfo/centos-pt-br</A><BR></BLOCKQUOTE></BLOCKQUOTE><BR>
  <DIV class=moz-signature>-- <BR>
  <META name=GENERATOR content="OpenOffice.org 3.2 (Unix)">
  <META name=AUTHOR content="opr179 ">
  <META name=CREATED content=20100629;14170600>
  <META name=CHANGED content=0;0>
  <META name="Info 1" content="">
  <META name="Info 2" content="">
  <META name="Info 3" content="">
  <META name="Info 4" content="">
  <STYLE type=text/css>
        <!--
                @page { margin: 0.79in }
                P { margin-bottom: 0.08in }
                A:link { so-language: zxx }
        -->
        </STYLE>

  <P style="MARGIN-BOTTOM: 0in">Lawton Bonnevialle<FONT size=2><BR></FONT><FONT 
  color=#008080><FONT size=2><B>Siemens Enterprise 
  Communications</B></FONT></FONT> <FONT size=2><BR>Curitiba - Brazil <BR>Email: 
  <A 
  href="mailto:lawton.silva@siemens-enterprise.com">lawton.silva@siemens-enterprise.com 
  </A><BR>Phone:+55 (41) 3341 5880<BR>Fax :+55 (41) 3341 5594</FONT></P></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>CentOS-pt-br mailing 
  list<BR>CentOS-pt-br@centos.org<BR>http://lists.centos.org/mailman/listinfo/centos-pt-br<BR></BLOCKQUOTE></BODY></HTML>