bind cannot read file

Reply

Join Date: Jan 2008
Posts: 3
Reputation: vatzcar is an unknown quantity at this point 
Solved Threads: 0
vatzcar vatzcar is offline Offline
Newbie Poster

bind cannot read file

 
0
  #1
Jan 24th, 2008
Whenever I'm trying to start bind following error is showing (in webmin):

Failed to start BIND : Starting named: Error in named configuration:
/etc/named.conf:3: change directory to '/var/named/chroot/var/named' failed:
file not found /etc/named.conf:3: parsing failed [FAILED]

and my bind configuration is:

options {
        pid-file "/var/named/chroot/var/run/named/named.pid";
        directory "/var/named/chroot/var/named";
        auth-nxdomain no;
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53;
};

//
// a caching only nameserver config
//
zone "." {
        type hint;
        file "/var/named/chroot/var/named/named.ca";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "/var/named/chroot/var/named/named.local";
};

zone "xxx.xx.xx.in-addr.arpa" {
        type master;
        file "/var/named/chroot/var/named/pri.xxx.xx.xx.in-addr.arpa";
};


zone "xyz.com" {
        type master;
        file "/var/named/chroot/var/named/pri.xyz.com";
};



//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////

I've checked all the files/folders are with permission of 775.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC