LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-20-2011, 10:48 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
SOLUTION: named: loading from master file managed-keys.bind failed: file not found


Hello

This fix took a lot of netsearching and a bit of luck so I'll just leave it here ...
  1. ENVIRONMENT (others may be similar): Debian 6.0 Squeeze, bind 9.7.2
  2. ERROR MESSAGE (in /var/log/syslog): managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
  3. 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
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-20-2011, 10:55 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Taking off the zero reply list and marking SOLVED
 
Old 11-08-2011, 02:51 PM   #3
maruz
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 2
Quote:
Originally Posted by catkin View Post
[*]ENVIRONMENT (others may be similar): Debian 6.0 Squeeze, bind 9.7.2[*]FIX create file managed-keys.bind in bind's working directory with the same owner, group and read & write permissions as the directory.[/LIST]
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.
this is what i did to get free of this error:

Code:
touch /var/cache/bind/managed-keys.bind
chown bind:bind /var/cache/bind/managed-keys.bind
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
(bind) named: couldn't open pid file '/var/run/named/named.pid' - any help? samengr Linux - Server 6 04-01-2009 06:22 AM
file /var/lib/named/var/named/reverse/named.zero failed: file not found Toadman Linux - Software 15 03-18-2009 07:01 PM
Solution to have svn managed file-permissions and ownership nobody25145147 Linux - Software 0 01-25-2009 07:36 AM
transfer named.conf file from master to slave nameserver sowell Linux - Server 8 01-23-2008 08:42 PM
reg named.conf configuration file of BIND DNS bzlaskar Linux - Server 1 12-27-2007 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration