amavisd-new crashing

Chuck Swiger cswiger at mac.com
Fri Sep 11 01:07:32 UTC 2009


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 at fromaddr.com> ->
> <myaddr at 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 at 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 at fromaddr.com> -> <myaddr at 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



More information about the freebsd-ports mailing list