Exiting due fatal error, no named.conf found.

Tony Finch dot at dotat.at
Mon May 12 10:28:04 UTC 2014


Mimiko <vbvbrj at gmail.com> wrote:

> May 11 09:56:14 srv58 named[28172]: loading configuration from '/opt/bind9/etc/named.conf'
> May 11 09:56:14 srv58 named[28172]: open: /opt/bind9/etc/named.conf: file not found

> I've put bind in /srv/bind9. Also I use chrooting.

If you are chrooting then all the paths compiled in to named, and the in
the command line options, and in the configuration files, are interpreted
relative to the chroot. You need to ensure that all your configuration
files are inside the chroot.

This:

> ln -s /srv/bind9/chroot/etc /opt/bind9/etc

creates a symlink outside your chroot pointing in to it, so it won't help
named to find its files - though it might help you to find them :-)

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
German Bight: Northwest 4 or 5, occasionally 6. Slight or moderate. Showers.
Moderate or good.


More information about the bind-users mailing list