Hello
This fix took a lot of netsearching and a bit of luck so I'll just leave it here ...
- ENVIRONMENT (others may be similar): Debian 6.0 Squeeze, bind 9.7.2
- ERROR MESSAGE (in /var/log/syslog): managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
- FIX create file managed-keys.bind in bind's working directory with the same owner, group and read & write permissions as the directory.
Exactly how to do this depends on whether BIND/named is configured to chroot. On Squeeze this is conventionally configured on the OPTIONS line of /etc/default/bind9 with something like
-t /var/chroot/bind9. If BIND/named is running a quick way to find out is
ps -ef | grep named. If named is chrooted, prefix the following paths with the chroot directory. The paths are from Squeeze; other distros may be different.
BIND/named's default working directory is /var/cache/bind; this could have been modified on the "directory" line in /etc/bind/named.conf.options.
Best
Charles