Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

named unable to find named.rfc1912.zones !!

Posted on 2008-10-30
2
1,455 Views
Last Modified: 2012-05-05
HI,
i am configuring named. so i have placed named.rfc1912.zones this file by using cp  command from /usr/...../doc to /etc
I can confirmed that named.rfc1912.zones is actually copied in /etc/ directory
[root@workshop etc]# locate named.rfc1912.zones
/etc/named.rfc1912.zones
/usr/share/doc/bind-9.3.4/sample/etc/named.rfc1912.zones
 but  when i am starting named its giving me this error
[root@workshop etc]# locate named.rfc1912.zones
Starting named:
Error in named configuration:
/etc/named.conf:63: open: /etc/named.rfc1912.zones: file not found
                                                           [FAILED]

permission is same as /etc/name.root.hits
it can see named.root.hits but it unable to see named.rfc.1912
don't understand why!!





0
Comment
Question by:fosiul01
2 Comments
 
LVL 11

Accepted Solution

by:
lbertacco earned 500 total points
ID: 22843009
Maybe you are running named chrooted. Which means that the root dir for named is /var/named/chroot (depends on distribution) and that you should put named.rfc1912.zones  in /var/named/chroot/etc in order for named to find it.
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22843075
ommm yes you  are damm right!!!!
my named is in chroot jail

but i tryed this method earlier but it didnto work , thats why i as confuse
but now when i copied those file in chroot/etc all fine
I must be did something wrong

anyway thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS Record - External Public IP (Sonicwall VPN) 9 45
error while installing php56 in redhat enterprise linux 20 51
server crashed 2 48
Linux FTP Error 5 33
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question