On Mon, 2005-04-04 at 13:04 -0600, D.J. Fan wrote:
> >
> >does that socket file exist?  does whatever user clamd is running as
> >have write access to it?
> >On Mon, 2005-04-04 at 16:29 +0200, Souza Simbota wrote:
> > >
> > > Hello,
> > >
> > >
> > >
> > > I have noticed there is a delay in my mail server operations . I tried 
> >to
> > > send a test mail to myself an hour ago but I haven't got it yet. I was
> > > checking at mail logs and came across the line below:
> > >
> > >
> > >
> > > Apr  4 10:15:33 glory amavis[29973]: (29973-02) Clam Antivirus-clamd: 
> >Can't
> > > connect to UNIX socket /var/lib/clamav/clamd: Connection refused, 
> >retrying
> > > (3)
> > >
> > >
> > >
> > > What could be the solutions to this?
> > >
> > >
> > >
> > > Souza Simbota
> 
> It looks like you run are running amavisd-new as user 'amavis'.
> If this is true, try adding user 'clamav' to the amavis group:
> 
> gpasswd -a clamav amavis
> 
> then stop and restart amavisd-new

Actually, the other way around, add amavis to the clamav group, 

usermod -G clamav amavis

then add:

AllowSupplementaryGroups

to the clamd.conf file, and restart both clamd and amavis-new.


-- 
Daniel J McDonald, CCIE # 2495, CNX
Austin Energy

[EMAIL PROTECTED]

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to