From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 20:11:02 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 9B2AA16A4CE for ; Wed, 23 Feb 2005 20:11:02 +0000 (GMT) Received: from mail.terralink.de (mail.tlink.de [217.9.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5B2943D39 for ; Wed, 23 Feb 2005 20:11:01 +0000 (GMT) (envelope-from me@daniel.stefan.haischt.name) Received: from smtp.abyssworld.de (daniel-s-haischt.biz [84.252.66.2]) by mail.terralink.de (Postfix) with ESMTP id F2924B8CD; Wed, 23 Feb 2005 21:10:58 +0100 (CET) Received-SPF: none (smtp.abyssworld.de: 192.168.1.6 is neither permitted nor denied by domain of daniel.stefan.haischt.name) client-ip=192.168.1.6; envelope-from=me@daniel.stefan.haischt.name; helo=[192.168.120.239]; Received: from [192.168.120.239] (smtp.abyssworld.de [192.168.1.6]) by smtp.abyssworld.de (Postfix) with ESMTP id B94AB18E62; Wed, 23 Feb 2005 21:10:52 +0100 (CET) Message-ID: <421CE34A.8070908@daniel.stefan.haischt.name> Date: Wed, 23 Feb 2005 21:10:50 +0100 From: "Daniel S. Haischt" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Robert Fitzpatrick References: <7177EE1A5FAAB03DADCD41D2@[192.168.1.57]> <421CDAF1.2010805@daniel.stefan.haischt.name> In-Reply-To: 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-Processed-By: GNU Anubis v4.0 X-Purified-With: DSPAM, Clam AntiVirus cc: FreeBSD Subject: Re: clamd after upgrade to 0.83 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: me@daniel.stefan.haischt.name List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 20:11:02 -0000 I think the following section in /usr/local/amavisd.conf should answer your question: ### http://www.clamav.net/ - backs up clamd or Mail::ClamAV ['ClamAV-clamscan', 'clamscan', "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], [1], qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], Basically if clamd is not running Amavis will execute the commandline scanner version of ClamAV. That's the reason why you are still getting log entries. So to sumarize: ClamAV's daemon is not running, thus there is neither a PID file nor a UNIX domain socket. So if you want to use the daemonized version of ClamAV, you need to elaborate why the daemon isn't started. Robert Fitzpatrick schrieb: > I do not have anything in /var/run/clamav and that is the location in > clamd.conf for placing the PID file. I cannot connect to the localhost > as well: > > esmtp# telnet localhost 3310 > Trying ::1... > telnet: connect to address ::1: Connection refused > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > telnet: Unable to connect to remote host > > However, according to the clamd.log, clamav is intercepting viruses. Do > you think it is working and why would I not be able to connect via > telnet or view the pid file if it is? > > -- > Robert > > > --On Wednesday, February 23, 2005 8:35 PM +0100 "Daniel S. Haischt" > wrote: > >> Usually if you are running ClamAV in UNI domain socket mode, >> there should be a UNIX domain socket called 'clamd' in ... >> >> -> /var/run/clamav >> >> Tho - this file can be configured in /usr/local/etc/clamd.conf. >> >> If ClamAv is running in TCP/IP mode it should be possible to >> test whether the server is responding by connecting to its >> TCP/IP port using a telnet client ... >> >> -> telnet localhost 3310 >> >> Robert Fitzpatrick schrieb: >> >>> 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. >>> >>> -- >>> Robert >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > -- Mit freundlichen Gruessen / With kind regards DAn.I.El S. Haischt Want a complete signature??? Type at a shell prompt: $ > finger -l haischt@daniel.stefan.haischt.name