From owner-freebsd-ports@FreeBSD.ORG Tue May 9 18:37:27 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C7F816A44C for ; Tue, 9 May 2006 18:37:26 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67E4743D68 for ; Tue, 9 May 2006 18:37:24 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5EBF8.dip.t-dialin.net [84.165.235.248]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k49ISIf1068593; Tue, 9 May 2006 20:28:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k49IbBqv025156; Tue, 9 May 2006 20:37:12 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 9 May 2006 20:38:08 +0200 From: Alexander Leidinger To: freebsd-ports@freebsd.org Message-ID: <20060509203808.73852114@Magellan.Leidinger.net> In-Reply-To: <21140.204.156.6.2.1147100614.squirrel@www.uniquestrength.net> References: <21140.204.156.6.2.1147100614.squirrel@www.uniquestrength.net> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: derrick@uniquestrength.net, gkovesdan@t-hosting.hu Subject: Re: Help with Amavisd-new 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: Tue, 09 May 2006 18:37:44 -0000 Quoting derrick@uniquestrength.net (Mon, 8 May 2006 11:03:34 -0400 (EDT)): > May 9 02:33:08 mail amavis[15471]: (15471-01) (!!) ask_av (ClamAV-clamd) > FAILED - unexpected result: > /var/amavis/tmp/amavis-20060509T023307-15471/parts: lstat() failed. ERROR\n > > FreeBSD 6.1-RC i386 SMP-GENERIC > amavisd-new-2.4.0,1 Performance-enhanced daemonized version of amavis-perl > clamav-0.88.2 Command line virus scanner written entirely in C > > > > Hi, I continue to get this error message with amavisd-new. I made sure > that permissions were good on the directories. Anything I am missing. Are you sure? I don't remember the error message (and the above doesn't look like you should do the following, but not AFAIR I searched for the problem for a while), but maybe the following helps. chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav; If you use portupgrade I suggest to make sure your /usr/local/etc/pkgtools.conf contains something similar to this: ---snip--- BEFOREDEINSTALL = { 'security/clamav' => '/usr/local/etc/rc.d/clamav-freshclam.sh stop; /usr/local/etc/rc.d/clamav-clamd.sh stop', } AFTERINSTALL = { 'security/clamav' => 'chown -R clamav:vscan /var/run/clamav; chmod -R g+w /var/run/clamav; /usr/local/etc/rc.d/clamav-freshclam.sh start; /usr/local/etc/rc.d/clamav-clamd.sh start', } ---snip--- Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/