Dear all, bind cannot load zone files, i see the following in the log for all domains. i have tried with 777 to all zone files but does not make difference. main directories are also owned by named:named May 21 15:45:23 nsfo1 named-sdb[2482]: zone dot.com.gh/IN: loading from master file master/db.gh.com.dot failed: permission denied help would be very much appreciated Thanks
On 5/21/2012 11:57 AM, Shiv. NK wrote:> Dear all, > > bind cannot load zone files, i see the following in the log for all domains. > > i have tried with 777 to all zone files but does not make difference. main > directories are also owned by named:named > > > May 21 15:45:23 nsfo1 named-sdb[2482]: zone dot.com.gh/IN: loading from > master file master/db.gh.com.dot failed: permission denied > > help would be very much appreciated > > Thanks > >are you using chroot-bind? are you placing the files in /var/named/ or somewhere else? I would not change the permissions from the way they are set by the program.
On May 21, 2012, at 11:57 AM, Shiv. NK wrote:> > Dear all, > > bind cannot load zone files, i see the following in the log for all domains. > > i have tried with 777 to all zone files but does not make difference. main > directories are also owned by named:named > > > May 21 15:45:23 nsfo1 named-sdb[2482]: zone dot.com.gh/IN: loading from > master file master/db.gh.com.dot failed: permission denied > > help would be very much appreciated > > ThanksHi, Ensure proper UGO, needs to be named and 640. HTH. - aurf
On 05/21/2012 10:57 AM, Shiv. NK wrote:> bind cannot load zone files, i see the following in the log for all domains. > > i have tried with 777 to all zone files but does not make difference. main > directories are also owned by named:named > > > May 21 15:45:23 nsfo1 named-sdb[2482]: zone dot.com.gh/IN: loading from > master file master/db.gh.com.dot failed: permission deniedwhere is zone file db.gh.com.dot? show the output of: /etc/init.d/named configtest ls -lZ /var/named ls -lZ /var/named/chroot/var/named ls -lZ /var/named/master ls -lZ /var/named/chroot/var/named/master