From owner-freebsd-questions@freebsd.org Mon Jan 25 19:00:51 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 339F84EC7EE for ; Mon, 25 Jan 2021 19:00:51 +0000 (UTC) (envelope-from dave@daveyelectric.ca) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DPfMk6N8Dz4rcW for ; Mon, 25 Jan 2021 19:00:50 +0000 (UTC) (envelope-from dave@daveyelectric.ca) Received: by mailman.nyi.freebsd.org (Postfix) id D923B4EC7ED; Mon, 25 Jan 2021 19:00:50 +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 D8E3D4EC7EC for ; Mon, 25 Jan 2021 19:00:50 +0000 (UTC) (envelope-from dave@daveyelectric.ca) Received: from pmta31.teksavvy.com (pmta31.teksavvy.com [76.10.157.38]) (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 4DPfMk5Pq9z4rnf for ; Mon, 25 Jan 2021 19:00:50 +0000 (UTC) (envelope-from dave@daveyelectric.ca) IronPort-SDR: tFfYWasn5xoiWSC8tXiISxQIeVJa2eEA4pns8coX5FCunXN3+0qdsHJMrOeClL9PNOluUF8Gy6 05iEvCx9sCsg== X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2FQDgDBFA9g/yWexEViHgEBCxIMQIF?= =?us-ascii?q?EC4I8AWRXAWGEQJATAQEBAQEBBoEMCCUDg32GL5AZFIFdCwsBAQEBAQEBAQE?= =?us-ascii?q?JGAsJAQIEAQEChAREAoF5AiU2Bw4CAwEBCwEBAQUBAQEBAQYEAgKGTgyDVYE?= =?us-ascii?q?HAQEBAQEBAQEBAQEBAQEBAQEBARYCDVRpAQEBAwEBIQ8BBRYgCxALDgoCAiY?= =?us-ascii?q?CAicBCSYGAQcFAgQBAQEBFgMEgwUBgmElD7JNgTKFWYNFgT4GgQ4qhm6GUCY?= =?us-ascii?q?beYEHgTgMgWh+PoJdAQSBJwERAgEIgzGCYASCPmBREFgDFmwkLwGdD5tbgwG?= =?us-ascii?q?JMItFhm4FCh+TGo9elB6LH4oUh1WEd4FdDGwjcDMaCDA7gmkTPRkNVpZQhWI?= =?us-ascii?q?jAzARJgIGAQkBAQMJVwGLPQEB?= X-IPAS-Result: =?us-ascii?q?A2FQDgDBFA9g/yWexEViHgEBCxIMQIFEC4I8AWRXAWGEQ?= =?us-ascii?q?JATAQEBAQEBBoEMCCUDg32GL5AZFIFdCwsBAQEBAQEBAQEJGAsJAQIEAQECh?= =?us-ascii?q?AREAoF5AiU2Bw4CAwEBCwEBAQUBAQEBAQYEAgKGTgyDVYEHAQEBAQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBARYCDVRpAQEBAwEBIQ8BBRYgCxALDgoCAiYCAicBCSYGAQcFA?= =?us-ascii?q?gQBAQEBFgMEgwUBgmElD7JNgTKFWYNFgT4GgQ4qhm6GUCYbeYEHgTgMgWh+P?= =?us-ascii?q?oJdAQSBJwERAgEIgzGCYASCPmBREFgDFmwkLwGdD5tbgwGJMItFhm4FCh+TG?= =?us-ascii?q?o9elB6LH4oUh1WEd4FdDGwjcDMaCDA7gmkTPRkNVpZQhWIjAzARJgIGAQkBA?= =?us-ascii?q?QMJVwGLPQEB?= X-IronPort-AV: E=Sophos;i="5.79,374,1602561600"; d="scan'208";a="153534378" Received: from 3s1.com ([69.196.158.37]) by smtp13.teksavvy.com with ESMTP/TLS/DHE-RSA-AES128-SHA; 25 Jan 2021 14:00:49 -0500 Received: from [192.168.1.3] (mylocalhost [192.168.1.1]) (authenticated bits=0) by 3s1.com (8.14.9/8.14.9) with ESMTP id 10PJ06vj083419; Mon, 25 Jan 2021 14:00:22 -0500 (EST) (envelope-from dave@daveyelectric.ca) Subject: Re: clamd appears to hanging To: Doug Hardie , David Banning Cc: questions@freebsd.org References: <20210124160938.GA82891@skytracker.ca> From: David Banning Message-ID: <485b6c93-6729-becd-5e01-262299327e1c@daveyelectric.ca> Date: Mon, 25 Jan 2021 14:00:05 -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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 14:00:22 -0500 (EST) X-Rspamd-Queue-Id: 4DPfMk5Pq9z4rnf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[dated,1611936580.6d1518]; REPLY(-4.00)[] X-Mailman-Approved-At: Mon, 25 Jan 2021 19:45:02 +0000 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: Mon, 25 Jan 2021 19:00:51 -0000 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" >