From owner-freebsd-questions@FreeBSD.ORG Tue Feb 27 17:51:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C0C316A401 for ; Tue, 27 Feb 2007 17:51:46 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id 21C8013C48D for ; Tue, 27 Feb 2007 17:51:45 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from [192.168.10.217] ([192.168.10.217]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.13.8) with ESMTP id l1RHqnjT037647 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Feb 2007 17:52:49 GMT (envelope-from jhary@unsane.co.uk) Message-ID: <45E46FAC.1000809@unsane.co.uk> Date: Tue, 27 Feb 2007 17:51:40 +0000 From: Vince User-Agent: Thunderbird 1.5.0.9 (X11/20070129) MIME-Version: 1.0 To: Noah References: <45E465FB.5010600@enabled.com> In-Reply-To: <45E465FB.5010600@enabled.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: named not starting on reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 17:51:46 -0000 Noah wrote: > Hi there, > > I am having troubles with named not starting on boot nor am I am able to > start it manually. I thought I have my chrootdir set correctly. > > here are my settings in my rc.conf > > ----s nip ---- > > named_enable="YES" > named_uid="bind" > named_program="/usr/local/sbin/named" > named_flags="-c /etc/namedb/named.conf" > named_chrootdir="/var/named" > > ---- snip--- > > > here are the /var/log/messages error: > > > Feb 27 09:07:46 access2 named[2058]: /etc/named.conf:6: change directory > to '/var/named/etc/namedb' failed: file not found > Feb 27 09:07:46 access2 named[2058]: /etc/named.conf:6: parsing failed > Feb 27 09:07:46 access2 named[2058]: loading configuration: file not found > Feb 27 09:07:46 access2 named[2058]: exiting (due to fatal error) > > What are your permissions on /var/named ? how about /var/named/etc/namedb ? by default i think the chroot stuff expects or wants /etc/namedb to be a symlink to /var/named/etc/namedb, is this the case ? What is line 6 of your /etc/named.conf and why is named looking for this rather than /etc/namedb/named.conf as specified. I have the portsversion of 9.3 with DLZ on my laptop as a testbed and it works fine with named_program="/usr/local/sbin/named" named_flags="-c /etc/namedb/named.conf" named_chrootdir="/var/named" named_enable="YES" So my guess is permissions or configuration file issue Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"