Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 11:52:02 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Noah <admin2@enabled.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: named: config filename (-c /var/named/etc/namedb/named.conf)
Message-ID:  <40AAB4B8-EC2D-4D38-83A1-1738FEDB9379@mac.com>
In-Reply-To: <45D36499.1020503@enabled.com>
References:  <45D36499.1020503@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 14, 2007, at 11:35 AM, Noah wrote:
[ ... ]
> named_flags="-c /var/named/etc/namedb/named.conf"
> named_chrootdir="/var/named"
>
> here is the error from the script:
>
> # /etc/rc.d/named start
> Starting named.
> named: config filename (-c /var/named/etc/namedb/named.conf)  
> contains chroot path (-t /var/named)

The error message seems be reasonably clear.  If you are chroot()'ing  
named under /var/named, then once that happens, the config files  
which actually resides at /var/named/etc/namedb/named.conf will  
appear to named to be at /etc/namedb/named.conf.  Change your  
named_flags accordingly...

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40AAB4B8-EC2D-4D38-83A1-1738FEDB9379>