From owner-freebsd-questions@freebsd.org Mon Jan 25 10:01:03 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 0CAD14D9F54 for ; Mon, 25 Jan 2021 10:01:03 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DPQNt5b5tz3Qr0 for ; Mon, 25 Jan 2021 10:01:02 +0000 (UTC) (envelope-from bc979@lafn.org) Received: by mailman.nyi.freebsd.org (Postfix) id BFC004D9ED0; Mon, 25 Jan 2021 10:01:02 +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 BF8AC4DA1AA for ; Mon, 25 Jan 2021 10:01:02 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4DPQNt4kWDz3Qkk for ; Mon, 25 Jan 2021 10:01:02 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4DPQNm0nhTz2fjV3; Mon, 25 Jan 2021 02:00:56 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: clamd appears to hanging From: Doug Hardie In-Reply-To: <20210124160938.GA82891@skytracker.ca> Date: Mon, 25 Jan 2021 02:00:55 -0800 Cc: questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210124160938.GA82891@skytracker.ca> To: David Banning X-Mailer: Apple Mail (2.3654.40.0.2.32) X-Virus-Scanned: clamav-milter 0.103.0 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DPQNt4kWDz3Qkk 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-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 10:01:03 -0000 > On 24 January 2021, at 08:09, David Banning = wrote: >=20 > 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; >=20 >=20 > 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. =20 In any case, be prepared to wait a long time for clamd to start. -- Doug