Why my named doesnt find named.root
Hello! I have configured my named server but before 2 days it brokes... I can't start it .. In my named.conf i have :
Code:
zone "." { Code:
[root@international ~]# service named start |
/var/named/chroot as implied by its name is a chroot directory. That means when you start named it runs as if /var/named/chroot = / (root directory).
You need to modify your named.conf to have: JUST: file "/var/named/run-root/var/named.root"; INSTEAD OF: file "/var/named/chroot/var/named/run-root/var/named.root"; You'll need to do the same for any zone file specifications you may have made. |
It's the same :(
|
Can't be exactly the same if you did what I said. Please post the new log entries.
|
Well I just looked more closely at what you originally wrote. In your named startup you are specifying your chroot directory for named with the -t flag as: /var/named/run-root
Then for some reason you're trying to use /var/named/chroot as a base directory. This is the default chroot directory for some installations but it is not the one you are specifying in startup. Also you don't need to specify full paths in named.conf - the default path is CHROOTDIR/var/named for root hints file and zone files. You only need to type in "named.root" not the full path. However for this to work you need to fix your idea of what is actually your CHROOTDIR. Check your /etc/sysconfig/named file to see what it specifies for ROOTDIR (which is what I'm calling CHROOTDIR above). |
All times are GMT -5. The time now is 06:30 PM. |