Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to migrate from CentOS5.5 64 bit to a new Scientific Linux 6.1 server (64 bit) with bind-chroot, bind, bind-utils ect installed.
The new 6.1 server has this directory layout:
[root@ns2 etc]# pwd
/var/named/chroot/etc
[root@ns2 etc]# ls -l
total 12
-rw-r--r--. 1 root root 3543 Nov 28 10:15 localtime
drwxr-x---. 2 root named 4096 Nov 16 12:09 named (directory created in 6.1)
drwxr-xr-x. 3 root root 4096 Nov 28 10:15 pki
[root@ns2 etc]# cd named/
[root@ns2 named]# pwd
/var/named/chroot/etc/named
from the old CentOS 5.5 server
named
[root@ns2 etc]# pwd
/var/named/chroot/etc
[root@ns2 etc]# ls -l
total 72
-rw-r--r-- 1 root root 3543 Jul 20 2010 localtime
-rw-r--r-- 1 root named 51631 Oct 13 10:53 named.conf
-rw-r--r-- 1 root named 174 Aug 24 2010 rndc.conf
-rw-r----- 1 root named 76 Oct 7 2010 rndc.key
I have a symlink to /etc/named.conf
do I create a symlink in the following on the new 6.1 server?
[root@ns2 named]# pwd
/var/named/chroot/etc/named
to [root@ns2 named]# pwd
/etc/named
[root@ns2 named]# pwd
/var/named/chroot/etc/named
I guess my question is do I place the named.conf file in the new 6.1 server in the following directory?
[root@ns2 named]# pwd
/var/named/chroot/etc/named
and the symlink location as well with the named.conf pointing to the /etc/named/named.conf file
has anyone migrated Centos 5 version to 6 and did they run into any problems or changes with your configs?
In the new 6.1 server
[root@ns2 named]# ls -l ; pwd
total 32
drwxr-x---. 6 root named 4096 Nov 28 10:15 chroot
drwxrwx---. 2 named named 4096 Nov 16 12:09 data
drwxrwx---. 2 named named 4096 Nov 16 12:09 dynamic
-rw-r-----. 1 root named 1892 Feb 18 2008 named.ca
-rw-r-----. 1 root named 152 Dec 15 2009 named.empty
-rw-r-----. 1 root named 152 Jun 21 2007 named.localhost
-rw-r-----. 1 root named 168 Dec 15 2009 named.loopback
drwxrwx---. 2 named named 4096 Nov 16 12:09 slaves
/var/named
since I am running in the chroot environment do I need to delete theses files out of the
/var/named directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.