Here's another clue below.  It's freshclam that is removing the
daily.inc dir.  And when this dir doesn't exist, freshclam-milter
exits.  This seems wrong, shouldn't freshclam perhaps download to a
new temporary directory and then upon successful download then
install?  Isn't it better to have a (slightly) out of date database
rather than none at all?

--------------------------------------
Received signal: wake up
ClamAV update process started at Thu Nov  2 16:59:32 2006
main.cvd is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm)
nonblock_recv: recv timing out (30 secs)
ERROR: getfile: Error while reading database from database.clamav.net
ERROR: getpatch: Can't download daily-2152.cdiff from database.clamav.net (IP: 6
3.166.28.8)
WARNING: Removing incremental directory daily.inc
WARNING: Incremental update failed, downloading complete database
nonblock_recv: recv timing out (30 secs)
ERROR: getfile: Error while reading database from database.clamav.net
ERROR: Can't download daily.cvd from database.clamav.net (IP: 63.166.28.8)
Trying again in 5 secs...
ClamAV update process started at Thu Nov  2 17:00:41 2006
main.cvd is up to date (version: 40, sigs: 64138, f-level: 8, builder: tkojm)
Downloading daily-2152.cdiff [100]
daily.inc updated (version: 2152, sigs: 11161, f-level: 9, builder: acab)
Database updated (75299 signatures) from database.clamav.net (IP: 209.59.139.38)
--------------------------------------


On 11/2/06, Steve Holdoway <[EMAIL PROTECTED]> wrote:
Look at permissions on the parent directory, and it's parent....

Steve

On Thu, 2 Nov 2006 20:41:08 +0100
"Michael Grant" <[EMAIL PROTECTED]> wrote:

> Even after I create this directory by hand and make it owned by
> clamav, group clamav clamav-milter still quits with this same error.
> Stranger still, clamav-milter or something, removes this directory and
> then complains it's not there.
>
> I'd be really happy if someone had some ideas here, this is driving me
> nuts restarting clamav-milter every day or so.
>
> Michael Grant
>
> On 11/1/06, Michael Grant <[EMAIL PROTECTED]> wrote:
> > Yes, that dir does exist and is owned by clamav, group clamav.
> >
> > I tried mkdir /var/db/clamav/daily.inc to see if it was expecting a
> > dir and not a file.  Can anyone confirm what clamav-milter is
> > expecting here?  So far, one hour later and it hasn't quit again but
> > sometimes it goes for several days.
> >
> > Michael Grant
> >
> > On 11/1/06, Dennis Peterson <[EMAIL PROTECTED]> wrote:
> > > Michael Grant wrote:
> > > > Clamav-milter is quiting on me.  It seems to be that daily.inc doesn't
> > > > exist.  Can someone please tell me how to create this file?
> > >
> > >
> > > Does this directory exist and if so is it writable by the user your
> > > process runs as?
> > >
> > > /var/db/clamav/
> > >
> > > dp
> > > _______________________________________________
> > > http://lurker.clamav.net/list/clamav-users.html
> > >
> > >
> >
> _______________________________________________
> http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html


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

Reply via email to