Service named start failed

hi to all,

i follow the instructions to install on centos 5.1 but after the command “service named start” i got an error like this:

Locating /var/named/chroot//etc/named.conf failed

pay attention to double slash after chroot

Anyone can help me, please ?

the double slash is NOT the problem. The issue is that the main named.conf file that it needs to start is not being loaded so it is failing. So you missed a step someplace or attempted to change the locations of things from the default and one of the files is still pointing to the wrong place.

Do a ‘yum install caching-nameserver’ - this will install the needed config files.

Hi all,

I have installed caching-nameserver as above, but still no joy.

Does anyone have any more information please.

The message I receive is:

Locating /var/named/chroot//etc/named.conf failed:

Thanks in advance


simply run

cp /etc/named.conf /var/named/chroot/etc/named.conf

and Bob’s your fetter!


ln -s /var/named/chroot/etc/named.conf /etc/named.conf