Article ID: 5628, created on Oct 17, 2008, last review on Sep 15, 2014

  • Applies to:
  • Plesk 11.0 for Linux


BIND service ("named") cannot be started. The starting script reports the following error:

    ~# /etc/init.d/named start
    Starting named:
    Error in named configuration:
    /etc/named.conf:6: change directory to '/var/named' failed: file not found
    /etc/named.conf:6: parsing failed

The directory /var/named exists and has the permission "755." What may be causing the problem and how can I resolve it?


Incorrect settings are specified in the named configuration.


Change directory to "/var" in the named configuration file /etc/named.conf:

    options {
            allow-recursion {
            directory "/var";    <- set this value
            pid-file "/var/run/named/";

Find the place where the file rndc.conf is located, and copy it inside the new jailed environment /var/named/run-root:

    ~# locate rndc.conf
    ~# cp /etc/rndc.conf /var/named/run-root/etc

Or create symlink if file already exists:

    # ln -s /var/named/run-root/etc/named.conf /etc/named.conf

Verify ownership and permissions:

    ~# ls -l /var/named/run-root/etc
    -rw-r--r--  1 root root   480 Jan 23  2002 rndc.conf

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c aea4cd7bfd353ad7a1341a257ad4724a 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF