LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-25-2009, 03:29 PM   #1
EddRaymond
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Chroot installation deleted named.conf? Help needed


I am new to Linux and I badly need help please.

I am running Centos 5 and was trying to configure bind V 9.3 and managed to get it configured correctly but when I installed chroot to secure the environment, the files /etc/named.conf and /etc/rndc.key went missing.

Please help me save hours of work spent configuring named.conf which went missing.

How do I get back named.conf, I tried to uninstall chroot but that was no help.

Thanks.
 
Old 05-25-2009, 04:35 PM   #2
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
You can always use "locate" to try to find files. The command "updatedb" can be used to update the "locate" database.

Code:
updatedb
locate named.conf
Enjoy!
- Arch
 
Old 05-26-2009, 10:10 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Note that when you have chrooted Bind, all files are looked for in a location relative to the chroot base directory (rather than /), so any file that is accessed after the chroot is in place should not be in the original location.
 
Old 05-26-2009, 08:52 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
See the Note on this page http://www.linuxtopia.org/online_boo...5_ch-bind.html
 
  


Reply



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 08:45 AM
/var/named/chroot/proc needed? Red Squirrel Linux - Software 2 10-01-2008 05:57 PM
service named cant start error in named.conf file gayanasa Linux - Server 2 07-02-2008 09:58 AM
named.conf and named.caching-server.conf ? Ronin_tekorei Linux - Server 4 05-03-2007 07:34 AM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 12:49 PM

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

All times are GMT -5. The time now is 11:27 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
Open Source Consulting | Domain Registration