From owner-freebsd-ports@FreeBSD.ORG Fri Sep 11 00:20:44 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72C10106568D for ; Fri, 11 Sep 2009 00:20:44 +0000 (UTC) (envelope-from esheesle@shadowlair.com) Received: from rogue.shadowlair.com (mail.shadowlair.com [74.92.153.17]) by mx1.freebsd.org (Postfix) with ESMTP id 2781E8FC12 for ; Fri, 11 Sep 2009 00:20:44 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by rogue.shadowlair.com (Postfix) with ESMTP id AB5C550837; Thu, 10 Sep 2009 20:20:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shadowlair.com; h=content-transfer-encoding:content-type:content-type :in-reply-to:references:subject:subject:mime-version:user-agent :from:from:date:date:message-id:received:received; s=shadowlair; t=1252628439; x=1254442839; bh=2cgzyku4vw9Jk3+m7HkXwNotigGEaTKO qL9XbSeKaMw=; b=vEki1LZpj+cxhGByPdnJUqqrnp2Lfr6GekCDZQlV+s10u4Mp +g5gXnr7duTpHHwNu9NCwO1stdPRB/XeZGlLxVXNAkd30E27ShdBXv3HtwEldAOP dpykaiLAo7jC0N/fSg6YuL8NVieWK5Ix8+L88iOSQ9aOvCmCCVxxvNXT13s= X-Virus-Scanned: amavisd-new at shadowlair.com Received: from rogue.shadowlair.com ([127.0.0.1]) by localhost (rogue.shadowlair.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nEO4gqXtg1mx; Thu, 10 Sep 2009 20:20:39 -0400 (EDT) Received: from [192.168.1.2] (unknown [10.1.10.82]) by rogue.shadowlair.com (Postfix) with ESMTPSA; Thu, 10 Sep 2009 20:20:39 -0400 (EDT) Message-ID: <4AA997DF.9080700@shadowlair.com> Date: Thu, 10 Sep 2009 20:20:47 -0400 From: Eric Sheesley User-Agent: Thunderbird 2.0.0.22 (X11/20090605) MIME-Version: 1.0 To: Chuck Swiger References: <20090910134721.128139atq6oiibac@webmail.shadowlair.com> <4AA963F5.3000202@intersonic.se> <4AA98A72.5060809@shadowlair.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Per olof Ljungmark , freebsd-ports@freebsd.org Subject: Re: amavisd-new crashing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 00:20:44 -0000 Another sample attached: Sep 10 20:15:41 rogue postfix/smtpd[59483]: connect from mail-vw0-f180.google.com[209.85.212.180] Sep 10 20:15:41 rogue postfix/smtpd[59483]: NOQUEUE: client=mail-vw0-f180.google.com[209.85.212.180] Sep 10 20:15:41 rogue amavis[77720]: (77720-02) ESMTP::10024 /var/amavis/tmp/amavis-20090910T192517-77720: -> 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 ; Thu, 10 Sep 2009 20:15:41 -0400 (EDT) Sep 10 20:15:41 rogue amavis[77720]: (77720-02) dkim: VALID Author+Sender+MailFrom signature by i=@gmail.com, From: , a=rsa-sha256, c=relaxed/relaxed, s=gamma, d=gmail.com Sep 10 20:15:41 rogue amavis[77720]: (77720-02) dkim: VALID Author+Sender+MailFrom signature by i=deadsender@gmail.com, From: , a=rsa-sha1, c=nofws, s=gamma, d=gmail.com Sep 10 20:15:41 rogue amavis[77720]: (77720-02) Checking: 2UIxlfrQ4TAm [209.85.212.180] -> Sep 10 20:15:41 rogue amavis[77720]: (77720-02) p003 1 Content-Type: multipart/alternative Sep 10 20:15:41 rogue amavis[77720]: (77720-02) p001 1/1 Content-Type: text/plain, size: 3383 B, name: Sep 10 20:15:41 rogue amavis[77720]: (77720-02) p002 1/2 Content-Type: text/html, size: 5031 B, name: Sep 10 20:15:41 rogue postfix/smtpd[59483]: warning: lost connection with proxy 127.0.0.1:10024 Sep 10 20:15:41 rogue amavis[59998]: TIMING [total 6 ms] - bdb-open: 6 (100%)100, rundown: 0 (0%)100 Sep 10 20:15:41 rogue postfix/cleanup[59992]: 8EA9F5083B: message-id=<20090911001541.8EA9F5083B@rogue.shadowlair.com> Sep 10 20:15:41 rogue postfix/smtpd[59483]: disconnect from mail-vw0-f180.google.com[209.85.212.180] Chuck Swiger wrote: > 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: -> >> 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 >> ; 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] -> >> 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,