From owner-freebsd-questions@freebsd.org Sun Aug 13 14:19:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56C92DB520E for ; Sun, 13 Aug 2017 14:19:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay11.qsc.de (mailrelay11.qsc.de [212.99.187.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD99770551 for ; Sun, 13 Aug 2017 14:19:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay11.qsc.de; Sun, 13 Aug 2017 16:18:10 +0200 Received: from r56.edvax.de (port-92-195-45-7.dynamic.qsc.de [92.195.45.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 88DB63CBF9; Sun, 13 Aug 2017 16:18:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v7DEI8lX003120; Sun, 13 Aug 2017 16:18:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 13 Aug 2017 16:18:08 +0200 From: Polytropon To: byrnejb@harte-lyne.ca Cc: "James B. Byrne via freebsd-questions" Subject: Re: FreeBSD-11 - local_unbound logging Message-Id: <20170813161808.01b27b02.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay11.qsc.de with 0BF626A3580 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.1378 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2017 14:19:07 -0000 On Sun, 13 Aug 2017 10:02:43 -0400, James B. Byrne via freebsd-questions wrote: > I do not get any errors from unbound-checkconf and the local_unbound > service starts but there is no logfile created; at least none where I > expect it to be (/var/unbound/log/unbound.log). DId you try creating the logfile itself so unbound can append to that file (read: append to an _existing_ file)? Try this first: # touch /var/unbound/log/unbound.log and restart the service. Also check your configuration file: You can provide an absolute path for the logfile (for example with the path and name listed above), so the entry would be: logfile: "/var/unbound/log/unbound.log" See "man 5 unbound.conf" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...