Question : named will not start from init script

I am having problems starting bind from an init script:

     service named start

fails, but

     named -u named

works fine.
/var/log/messages says there is a permissions problem with /var/named/named.root

I have looked in the /etc/rc.d/init.d/named script, and it appears to be running named as

     daemon /usr/sbin/$named -u named ${OPTIONS};

which looks fine to me.

Any ideas? Thanks.

Answer : named will not start from init script

Are you running selinux?

Try this..

enter this command:

setenforce 0

then try to start named

/etc/init.d/named start

Random Solutions  
 
programming4us programming4us