Code: Select all
Error in named configuration:
none:0: open: /etc/named.conf: file not found
I'm at a loss as to what this error means since the file exists.
Anyone else having a problem with the bind update?
Code: Select all
Error in named configuration:
none:0: open: /etc/named.conf: file not found
Code: Select all
Starting named: /bin/chown: cannot access `/var/named/run-root/var/named': No such file or directory
Code: Select all
[root@psa-test ~]# ls -la /var/named/run-root/etc/
total 56
drwxr-xr-x 2 root root 4096 Dec 4 22:25 .
drwxr-xr-x 6 root root 4096 Jun 1 2006 ..
-rw-r--r-- 1 root root 1279 Nov 26 23:22 localtime
-rw-r--r-- 1 root root 3821 Dec 4 22:25 named.conf
-rw-r--r-- 1 root root 3510 Jun 1 2006 named.conf.default
-rw-r--r-- 1 root root 480 Jan 23 2002 rndc.conf
-r--r--r-- 1 root root 1199 Jun 15 2001 rndc.conf.sample
Code: Select all
[root@psa-test ~]# ls -la /var/named/run-root/etc/
total 36
drwxr-xr-x 2 root root 4096 Jan 25 16:54 .
drwxr-xr-x 6 root root 4096 Jun 1 2006 ..
lrwxrwxrwx 1 root root 50 Jan 25 16:54 localtime -> /var/named/chroot/var/named/run-root/etc/localtime
lrwxrwxrwx 1 root root 51 Jan 25 16:54 named.conf -> /var/named/chroot/var/named/run-root/etc/named.conf
lrwxrwxrwx 1 root root 59 Jan 25 16:54 named.conf.default -> /var/named/chroot/var/named/run-root/etc/named.conf.default
lrwxrwxrwx 1 root root 50 Jan 25 16:54 rndc.conf -> /var/named/chroot/var/named/run-root/etc/rndc.conf
lrwxrwxrwx 1 root root 57 Jan 25 16:54 rndc.conf.sample -> /var/named/chroot/var/named/run-root/etc/rndc.conf.sample
Code: Select all
yum remove bind-chroot
ln -sf /var/named/run-root/etc/named.conf /etc/named.conf
service named restart
Code: Select all
Feb 8 17:44:22 named[26887]: starting BIND 9.2.4 -u named -t /var/named/run-root
Feb 8 22:44:22 named[26887]: using 2 CPUs
Feb 8 22:44:22 named[26887]: loading configuration from '/etc/named.conf'
Feb 8 22:44:22 named[26887]: none:0: open: /etc/named.conf: permission denied
Feb 8 22:44:22 named[26887]: loading configuration: permission denied
Feb 8 22:44:22 named[26887]: exiting (due to fatal error)
Feb 8 17:44:22 named: named startup failed
Code: Select all
chown named:named /var/named/run-root/etc/named.conf
chown named:named /etc/named.conf