named: config filename (-c /var/named/etc/namedb/named.conf)

Chuck Swiger cswiger at mac.com
Wed Feb 14 19:52:09 UTC 2007


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



More information about the freebsd-questions mailing list