From owner-freebsd-questions@freebsd.org Tue Jan 26 01:50:19 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B54E4FAC58 for ; Tue, 26 Jan 2021 01:50:19 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DPqSC1LrKz4Vy6 for ; Tue, 26 Jan 2021 01:50:19 +0000 (UTC) (envelope-from david@skytracker.ca) Received: by mailman.nyi.freebsd.org (Postfix) id 2E4A74FAE26; Tue, 26 Jan 2021 01:50:19 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E0C04FAE25 for ; Tue, 26 Jan 2021 01:50:19 +0000 (UTC) (envelope-from david@skytracker.ca) Received: from pmta21.teksavvy.com (pmta21.teksavvy.com [76.10.157.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.teksavvy.com", Issuer "DigiCert SHA2 High Assurance Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DPqSB0QCjz4Vrb for ; Tue, 26 Jan 2021 01:50:17 +0000 (UTC) (envelope-from david@skytracker.ca) IronPort-SDR: TqH+N00EwyKYDXObohuDV0OcCPYD8RUDTrPNwi58FgQVZmcjunYIm3Mb38yLxnikbUyzWJPm15 O0/TG5gcxc8A== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2GhAAA6dA9g/yWexEViHQEBAQEJARI?= =?us-ascii?q?BBQUBgXsIAQsBgjsBZFhhhECIJIkICCUDg32QJ4YhFIFfCQsBAQEBAQEBAQE?= =?us-ascii?q?JGAEKCQECBAEBAoQERAKBeQIlNAkOAgMBAQsBAQEFAQEBAQEGBAIChk4Mg1W?= =?us-ascii?q?BBwEBAQEBAQEBAQEBAQEBAQEBAQEWAg1UaQEBAQMBASErIAsQCw4KKgICJwE?= =?us-ascii?q?JJgYIBQIEAQEBARYDBIMFAYMGBAuyNYEyiRWBPgaBOAGGbQ2GQyYbggCBOAy?= =?us-ascii?q?BaH4+gl0BBIEnARECAQiDMYJgBII+YFEQWAMWbCQvAZ0Pm1uDAYEdiBOLRYZ?= =?us-ascii?q?uBQofgSORd49enz2KFIdVhHeBVn8jcDMaCDA7gmkTPRkNVpZQhWIjMxEmAgY?= =?us-ascii?q?BCQEBAwlXAYs9AQE?= X-IPAS-Result: =?us-ascii?q?A2GhAAA6dA9g/yWexEViHQEBAQEJARIBBQUBgXsIAQsBg?= =?us-ascii?q?jsBZFhhhECIJIkICCUDg32QJ4YhFIFfCQsBAQEBAQEBAQEJGAEKCQECBAEBA?= =?us-ascii?q?oQERAKBeQIlNAkOAgMBAQsBAQEFAQEBAQEGBAIChk4Mg1WBBwEBAQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBAQEWAg1UaQEBAQMBASErIAsQCw4KKgICJwEJJgYIBQIEAQEBA?= =?us-ascii?q?RYDBIMFAYMGBAuyNYEyiRWBPgaBOAGGbQ2GQyYbggCBOAyBaH4+gl0BBIEnA?= =?us-ascii?q?RECAQiDMYJgBII+YFEQWAMWbCQvAZ0Pm1uDAYEdiBOLRYZuBQofgSORd49en?= =?us-ascii?q?z2KFIdVhHeBVn8jcDMaCDA7gmkTPRkNVpZQhWIjMxEmAgYBCQEBAwlXAYs9A?= =?us-ascii?q?QE?= X-IronPort-AV: E=Sophos;i="5.79,375,1602561600"; d="scan'208,217";a="153279330" Received: from 3s1.com ([69.196.158.37]) by smtp12.teksavvy.com with ESMTP/TLS/DHE-RSA-AES128-SHA; 25 Jan 2021 20:50:16 -0500 Received: from [192.168.3.101] ([82.102.30.130]) (authenticated bits=0) by 3s1.com (8.14.9/8.14.9) with ESMTP id 10Q1oETu031190; Mon, 25 Jan 2021 20:50:15 -0500 (EST) (envelope-from david@skytracker.ca) Subject: Re: clamd appears to hanging From: David Banning To: Doug Hardie Cc: questions@freebsd.org References: <20210124160938.GA82891@skytracker.ca> <485b6c93-6729-becd-5e01-262299327e1c@daveyelectric.ca> Message-ID: Date: Mon, 25 Jan 2021 20:50:08 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <485b6c93-6729-becd-5e01-262299327e1c@daveyelectric.ca> Content-Language: en-US X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (3s1.com [192.168.1.50]); Mon, 25 Jan 2021 20:50:16 -0500 (EST) X-Rspamd-Queue-Id: 4DPqSB0QCjz4Vrb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 76.10.157.36 is neither permitted nor denied by domain of david@skytracker.ca) smtp.mailfrom=david@skytracker.ca X-Spamd-Result: default: False [-3.20 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[skytracker.ca]; RBL_DBL_DONT_QUERY_IPS(0.00)[76.10.157.36:from]; R_SPF_SOFTFAIL(0.00)[~all]; SPAMHAUS_ZRD(0.00)[76.10.157.36:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:5645, ipnet:76.10.128.0/19, country:CA]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[questions]; RCVD_IN_DNSWL_LOW(-0.10)[76.10.157.36:from] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2021 01:50:19 -0000 Turns out all is good - I see there is a header now in each email; X-Antivirus: Avast (VPS 210125-8, 2021-01-25), Inbound message X-Antivirus-Status: Clean which I am assuming is from Clamav. On 2021-01-25 2:00 p.m., David Banning wrote: > thanks for that - it turns out that when I waited,  spamd -does- > eventually start - I think it took 45 minutes - knowing that it was > operating was only from sending the eicar virus to myself - it shows > that it caught it in the maillog,  but no email cleaned version of the > email arrived,  and there is no header in clean emails to show they > have been checked - but it works.  That's the good news.  It would be > helpful to have -something- that tells me that it is operating - even > an occasional clean scan note in maillog would be great. > > I'll keep an eye to see if it continues to take a long time to start > at boot time - I may have to have it -not- start at boot, and start it > manually. > > > On 2021-01-25 5:00 a.m., Doug Hardie wrote: >>> On 24 January 2021, at 08:09, David Banning >>> wrote: >>> >>> I just installed clamd on an older version of Freebsd. Freshclam >>> appears to be working fine,  but clamd seems to hang, which prevents >>> my server from booting. >>> I don't see anything in the log; >>> >>> >>> Any pointers towards getting this up and running would be helpful. >>> The Freebsd version and Clamd version are noted at the beginning of >>> the log. >> Clamd may be waiting on freshclam.  However, it still takes clamd >> "forever" to load the virus database.  You have 2 options: >> >> 1.  If you connect to the machine via ssh, then edit /etc/rc.d/sshd >> and add FILESYSTEMS to the REQUIRE line.  That will cause sshd to >> become active before clamd tries to start up.  You will be able to >> poke around and see what is going on. >> >> 2.  If you use a directly connected terminal, then disable clamd and >> freshclam in /etc/rc.d.  Boot up and then start them up manually.  >> You do need to run freshclam first though. >> >> In any case, be prepared to wait a long time for clamd to start. >> >> -- Doug >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >