Mimiko <[email protected]> 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  <[email protected]>  http://dotat.at/
German Bight: Northwest 4 or 5, occasionally 6. Slight or moderate. Showers.
Moderate or good.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to