LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2010, 01:39 PM   #1
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
/etc/named.conf not found


I installed the bind package,but the /etc/named.conf doesnot exist and unable to start named sevice as unable to lacate the file .
 
Old 03-06-2010, 02:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Well as an apparent RHCE you should appreciate that you need to write the file. you can't just "start" a name server, it needs data and configuratoin that only you can provide.
 
1 members found this post helpful.
Old 03-06-2010, 11:51 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by acid_kewpie View Post
Well as an apparent RHCE you should appreciate that you need to write the file. you can't just "start" a name server, it needs data and configuratoin that only you can provide.
Hello bro,I can configure the file /etc/named.conf ,thats not the issue I'am asking .
I am asking bcoz after installation of bind ,no file "named.conf" is there in /etc ,and I found its a bug here .
 
Old 03-07-2010, 02:23 AM   #4
mattseanbachman
Member
 
Registered: Feb 2010
Posts: 40

Rep: Reputation: 15
Try checking for named.conf in this location

Code:
 /var/named/chroot/etc/named.conf
If I recall right, the /etc/named.conf file is just a symbolic link to this file...at least that's what it was on Fedora when I last checked.

Let us know if that helps!
 
Old 03-07-2010, 02:35 AM   #5
spampig
Member
 
Registered: Feb 2010
Location: /Earth/UK/England/Hampshire
Distribution: Debian, Ubuntu, CentOS, Slackware
Posts: 262
Blog Entries: 2

Rep: Reputation: 56
Also noteworthy - depends how you install it. See the very last question on the FAQ list here:

http://www.bind9.net/BIND-FAQ
Quote:
Q:
Isn't "make install" supposed to generate a default named.conf?

A:
Short Answer: No.
 
Old 03-08-2010, 12:26 AM   #6
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Original Poster
Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by mattseanbachman View Post
Try checking for named.conf in this location

Code:
 /var/named/chroot/etc/named.conf
If I recall right, the /etc/named.conf file is just a symbolic link to this file...at least that's what it was on Fedora when I last checked.

Let us know if that helps!
No such file or directory
 
Old 03-08-2010, 12:41 AM   #7
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by divyashree View Post
I installed the bind package,but the /etc/named.conf doesnot exist and unable to start named sevice as unable to lacate the file .
Hi divyashree,

/etc/named.conf file will not come by default with BIND. you may follow this link to write named.conf file..

But you can locate sample file for named.conf. In my fedora11 system its
Code:
/usr/share/doc/bind-9.6.1/sample/etc/named.conf
you may check this using
Code:
[vinay@vinay ~]$ rpm -qa | grep bind
ypbind-1.20.4-18.fc11.i586
bind-libs-9.6.1-0.3.b1.fc11.i586
bind-utils-9.6.1-0.3.b1.fc11.i586
qtscriptbindings-0.1.0-5.fc11.i586
rpcbind-0.1.7-3.fc11.i586
bind-chroot-9.6.1-0.3.b1.fc11.i586
samba-winbind-3.3.2-0.33.fc11.i586
system-config-bind-4.0.6-1.fc9.noarch
bind-9.6.1-0.3.b1.fc11.i586
check the sample file with
Code:
[vinay@vinay ~]$ rpm -ql bind-9.6.1-0.3.b1.fc11.i586 | grep named.conf
/usr/share/doc/bind-9.6.1/named.conf.default
/usr/share/doc/bind-9.6.1/sample/etc/named.conf
/usr/share/man/man5/named.conf.5.gz
[vinay@vinay ~]$
All the best.

Last edited by vinaytp; 03-08-2010 at 12:47 AM.
 
Old 03-08-2010, 12:47 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by divyashree View Post
I am asking bcoz after installation of bind ,no file "named.conf" is there in /etc ,and I found its a bug here .
That bug report seems to explain the solution quite well. Do you still have a problem?

Evo2.
 
  


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
adding a zone in named.conf in centos 5.2 /etc/named.conf coolhunkank Linux - Newbie 2 05-14-2009 09:45 AM
service named cant start error in named.conf file gayanasa Linux - Server 2 07-02-2008 10:58 AM
named.conf and named.caching-server.conf ? Ronin_tekorei Linux - Server 4 05-03-2007 08:34 AM
SUSE 9.1: named.conf works, but including separate conf files doesn't??? registering Linux - Distributions 0 06-09-2004 05:03 PM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 01:49 PM


All times are GMT -5. The time now is 02:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration