Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2009 17:07:28 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Eric Sheesley <esheesle@shadowlair.com>
Cc:        Per olof Ljungmark <peo@intersonic.se>, freebsd-ports@freebsd.org
Subject:   Re: amavisd-new crashing
Message-ID:  <B77DA1FD-3132-4924-9B19-EDF6E973CAD7@mac.com>
In-Reply-To: <4AA98A72.5060809@shadowlair.com>
References:  <20090910134721.128139atq6oiibac@webmail.shadowlair.com> <4AA963F5.3000202@intersonic.se> <4AA98A72.5060809@shadowlair.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi--

On Sep 10, 2009, at 4:23 PM, Eric Sheesley wrote:
> Sep 10 19:00:08 rogue amavis[77712]: (77712-01) ESMTP::10024
> /var/amavis/tmp/amavis-20090910T190007-77712:  
> <fromaddr@fromaddr.com> ->
> <myaddr@shadowlair.com> SIZE=7072 BODY=7BIT Received: from
> rogue.shadowlair.com ([127.0.0.1]) by localhost (rogue.shadowlair.com
> [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for
> <esheesle@shadowlair.com>; Thu, 10 Sep 2009 19:00:07 -0400 (EDT)
> Sep 10 19:00:08 rogue amavis[77712]: (77712-01) Checking: SukXX+6vDV2U
> [65.55.88.13] <fromaddr@fromaddr.com> -> <myaddr@shadowlair.com>
> Sep 10 19:00:08 rogue amavis[77712]: (77712-01) p001 1 Content-Type:
> text/plain, size: 3607 B, name:
> Sep 10 19:00:08 rogue postfix/smtpd[77645]: warning: lost connection
> with proxy 127.0.0.1:10024
> Sep 10 19:00:08 rogue amavis[78041]: TIMING [total 5 ms] - bdb-open: 5
> (100%)100, rundown: 0 (0%)100

It sounds like amavisd can't open a BerkeleyDB database (probably the  
nanny/cache/snmp stuff).  Make sure that /var/amavis/db exists and is  
writable by the amavisd or vscan user, whatever you are running  
amavisd as:

# ls -l /var/amavis/db
total 556
-rw-r-----  1 vscan  vscan   24576 Sep  9 19:01 __db.001
-rw-r-----  1 vscan  vscan  131072 Sep  9 18:44 __db.002
-rw-r-----  1 vscan  vscan  270336 Sep 10 11:43 __db.003
-rw-r-----  1 vscan  vscan  360448 Sep  9 18:44 __db.004
-rw-r-----  1 vscan  vscan    4096 Sep  9 14:20 cache-expiry.db
-rw-r-----  1 vscan  vscan   90112 Sep 10 14:01 cache.db
-rw-r-----  1 vscan  vscan   12288 Sep  9 14:20 nanny.db
-rw-r-----  1 vscan  vscan   12288 Sep  9 14:20 snmp.db

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B77DA1FD-3132-4924-9B19-EDF6E973CAD7>