Thanks!
Create a file socket manually..? it's imposible!
I'm read the man 5 clamav.conf... i change the parameters... just

LocalSocket  (/var/run/SockFile or /tmp/SockFile
StreamSaveToDisk ( enable)
ScanMail (enable)
User ( clamd or root )

the problem is this:

The socket file "/var/run/SocketFile: No such file or directory"


-sh-2.05b# ls
cfgfile.c  clamd.c    clamuko.o   dazukoio.o     localserver.o  options.c
others.h   scanner.o    server.o     tests.c
cfgfile.h  clamd.o    dazuko.h    defaults.h     Makefile       options.h
others.o   sendmail.cf  tcpserver.c  tests.h
cfgfile.o  clamuko.c  dazukoio.c  localserver.c  Makefile.am    options.o
scanner.c  server.c     tcpserver.h  tests.o
clamd      clamuko.h  dazukoio.h  localserver.h  Makefile.in    others.c
scanner.h  server.h     tcpserver.o
-sh-2.05b# ./clamd
-sh-2.05b#

not problem!

-sh-2.05b# /usr/local/sbin/clamav-milter -blo /var/run/clamav.sock
-sh-2.05b#   "NOT ERRORS"

But the SMTP service don't run!
How do i fix this?
I'm configure .conf file (i thinks) correct!!




----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 20, 2003 9:57 AM
Subject: Clamav-users digest, Vol 1 #202 - 4 msgs


> Send Clamav-users mailing list submissions to
> [EMAIL PROTECTED]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/clamav-users
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Clamav-users digest..."
>
>
> Today's Topics:
>
>    1. Re: :( (Odhiambo Washington)
>    2. Re: SelfCheck: Unable to repair internal structure (Avleen Vig)
>    3. In clamav_milter, hit max-children limit ([EMAIL PROTECTED])
>    4. Re: PLEASE I need help... (Alessandro Bianchi)
>
> --__--__--
>
> Message: 1
> Date: Thu, 20 Nov 2003 07:58:07 +0300
> From: Odhiambo Washington <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Clamav-users] :(
> Reply-To: [EMAIL PROTECTED]
>
>
> --yrj/dFKFPuw6o+aM
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> * Pat Masterson <[EMAIL PROTECTED]> [20031119 19:39]: wrote:
> > On Wed, 19 Nov 2003, Marino, Santiago Maximiliano wrote:
> >=20
> > >Pat! thanks...
> > >but i have 2 problems..
> > >1) i don't know speak english...
> > >2) Now, all is running ok! but i have other error ..
> > >
> > >/var/run/clamav.sock: Connection refused
> > >Can't talk to clamd server via /var/run/clamav.sock
> > >Check your entry for LocalSocket in /etc/clamav.conf
> >=20
> >=20
> >   Hi Santiago. Please make sure you try to read all the clamav docs
> > fefor you go too far. it will help you with these questions. And you
> > will learn better!
> >  You english is fine, dont worry about it.
> >=20
> > As root create the socet like this:
> > touch /var/run/clamav.sock
>
> I don't think that is correct! The socket should _NOT_ be manually
created.
> The daemon should create it.
>
> For Santiago, I suggest that you change clamav.conf to specify the socket
> file differently, like /tmp/clamav.sock
> I think the problem is that the user clamd is running as does not have the
> correct privileges to create the socket in /var/run. So the error message
> actually tells you to check the LocalSocket in /etc/clamav.conf
>
>
>         cheers
>        - wash=20



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to