View Single Post
  #3  
Old 9th March 2006, 01:53
spaz spaz is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Default

# ls -la /etc/bind
total 53
drwxr-sr-x 2 root bind 376 2005-08-06 10:22 .
drwxr-xr-x 129 root root 8792 2006-03-08 03:45 ..
lrwxrwxrwx 1 bind bind 23 2005-08-06 10:22 bind -> /var/lib/named/etc/bind

-rw-r--r-- 1 bind bind 237 2004-09-23 11:25 db.0
-rw-r--r-- 1 bind bind 271 2004-09-23 11:25 db.127
-rw-r--r-- 1 bind bind 237 2004-09-23 11:25 db.255
-rw-r--r-- 1 bind bind 353 2004-09-23 11:25 db.empty
-rw-r--r-- 1 bind bind 256 2004-09-23 11:25 db.local
-rw-r--r-- 1 bind bind 1507 2004-09-23 11:25 db.root
-rw-rw-r-- 1 bind bind 1611 2004-09-23 11:25 named.conf
-rw-rw-r-- 1 bind bind 165 2004-09-23 11:25 named.conf.local
-rw-rw-r-- 1 bind bind 672 2004-09-23 11:25 named.conf.options
-rw-r----- 1 bind bind 77 2005-08-06 10:16 rndc.key
-rw-r--r-- 1 bind bind 1317 2004-09-23 11:25 zones.rfc1918

root@22[bind]# ls -la /var/lib/named/etc/bind
total 44
drwxrwxr-x 2 bind bind 352 2004-10-21 00:06 .
drwx------ 3 root root 72 2005-02-08 12:30 ..
-rw-r--r-- 1 bind bind 237 2004-06-18 03:38 db.0
-rw-r--r-- 1 bind bind 271 2004-06-18 03:38 db.127
-rw-r--r-- 1 bind bind 237 2004-06-18 03:38 db.255
-rw-r--r-- 1 bind bind 353 2004-06-18 03:38 db.empty
-rw-r--r-- 1 bind bind 256 2004-06-18 03:38 db.local
-rw-r--r-- 1 bind bind 1507 2004-06-18 03:38 db.root
-rw-rw---- 1 bind bind 1611 2004-09-23 11:25 named.conf
-rw-rw---- 1 bind bind 165 2004-06-18 03:38 named.conf.local
-rw-rw---- 1 bind bind 672 2004-06-18 03:38 named.conf.options
-rw-r----- 1 bind bind 77 2004-08-21 05:59 rndc.key
-rw-r--r-- 1 bind bind 1317 2004-06-18 03:38 zones.rfc1918

taking a look at the permissions in /var/lib/named/etc/bind, (link from /etc/bind) I tried:

chmod 664 /var/lib/named/etc/bind/named.conf*

and received the same error messages when trying to start bind, so I changed it back to where it was:

chmod 660 /var/lib/named/etc/bind/named.conf* and the output above is the current condition with nothing changed.
Reply With Quote