From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 23:39:20 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F13816A4CE for ; Wed, 23 Feb 2005 23:39:20 +0000 (GMT) Received: from mx1.sohotech.ca (mx1.sohotech.ca [64.26.169.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDBC943D49 for ; Wed, 23 Feb 2005 23:39:19 +0000 (GMT) (envelope-from greg@grokking.org) Received: from localhost (unknown [127.0.0.1]) by mx1.sohotech.ca (Postfix) with ESMTP id E0259176E63 for ; Wed, 23 Feb 2005 18:39:18 -0500 (EST) Received: from mx1.sohotech.ca ([127.0.0.1]) by localhost (mx1.sohotech.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44321-08 for ; Wed, 23 Feb 2005 18:39:16 -0500 (EST) Received: from [192.168.1.6] (chomsky.sohotech.ca [192.168.1.6]) by mx1.sohotech.ca (Postfix) with ESMTP id A3359176868 for ; Wed, 23 Feb 2005 18:39:16 -0500 (EST) Message-ID: <421D1426.5090105@grokking.org> Date: Wed, 23 Feb 2005 18:39:18 -0500 From: "greg@grokking.org" User-Agent: Mozilla Thunderbird 1.0 (X11/20041223) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <7177EE1A5FAAB03DADCD41D2@[192.168.1.57]> In-Reply-To: <7177EE1A5FAAB03DADCD41D2@[192.168.1.57]> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at sohotech.ca Subject: Re: clamd after upgrade to 0.83 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 23:39:20 -0000 Robert Fitzpatrick wrote: > After doing a portupgrade of clamd from 0.81 to 0.83, the service > reports that it is not running using 'clamav-clamd.sh status'. > > esmtp# cd /usr/local/etc > esmtp# rc.d/clamav-clamd.sh status > clamav_clamd is not running. > esmtp# ps -ax|grep clam > 781 ?? Ss 0:10.96 /usr/local/sbin/clamd > > However, all seems to be fine, postfix 2.1.5, amavisd-new and clamd all > seem to be running and Webmin reports them all as running. > > Any thoughts or something I should know regarding the upgrading? I > checked /usr/ports/UPDATING, but nothing regarding this. All conf files > are reflecting the new settings. > Check access on the relevant directories. By default, clamav runs as user 'clamav' but amavisd runs as user 'vscan' so the directories where the pid, socket AND virus database all need to be reconciled to whichever user you run these as. I use 'vscan' so I pass the CLAMAVUSER and CLAMAVGROUP this value when I 'make install' clamav initially. Then, I add these to /usr/local/etc/pkgtools.conf so that the next portupgrade doesn't undo it. Hope that helps, G