From owner-freebsd-questions@FreeBSD.ORG Sat May 30 14:06:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DAB51065678 for ; Sat, 30 May 2009 14:06:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 56BB08FC1F for ; Sat, 30 May 2009 14:06:37 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MAPCm-0001iv-RB for freebsd-questions@freebsd.org; Sat, 30 May 2009 14:06:36 +0000 Received: from pool-68-239-65-45.res.east.verizon.net ([68.239.65.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 May 2009 14:06:36 +0000 Received: from nightrecon by pool-68-239-65-45.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 May 2009 14:06:36 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 30 May 2009 10:08:05 -0400 Lines: 39 Message-ID: References: <46dcef4e0905300550j3e19424bs689a384bb4f97c19@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-65-45.res.east.verizon.net Sender: news Subject: Re: FreeBSD 7.0-RELEASE-p12 bind9 log files not found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 14:06:39 -0000 Prokofyev Vladislav wrote: > Hello, > > I have setup FreeBSD recently, can somebody help me with one interesting > thing - Bind9 slave DNS server, everything is works great, but I got a > problem with extended logging of xfer, etc. > Bind9 started in chroot: > > root 788 0.0 0.1 3156 1004 ?? Ss Fri01AM 0:02.10 > /usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s > bind 30792 0.0 1.2 16212 12864 ?? Is 4:10PM 0:00.23 > /usr/sbin/named -t /var/named -u bind > > [snip] > > > Changing permissions and putting log-files in different places (with > changing paths in named.conf of course) has no effect. I see that problem > is pretty silly but searching info about this doesn't say something > special - I still got "file not found" in /var/messages. > Maybe Iam don't understand where files must be placed, so, thanks in > advance for everybody who can explain how it works :) > Don't know if this will help, but took a quick look at my box here at home and have the following in my rc.conf - but I don't have logging turned on with this machine. Note the last line. So the logs should be in /var/named/var/log named_enable="YES" named_program="/usr/sbin/named" named_chrootdir="/var/named" -Mike