
15th August 2005, 17:34
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Eugene, OR
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Bind not working
I noticed my Bind-server is off line. I just noticed it, so I'm not sure how it was broke or if it is. When I restart named, I get this message.
Aug 15 08:29:19 server named: /etc/named.conf:5: change directory to '/var/named/chroot/var/named' failed: file not found
Aug 15 08:29:19 server named:
Aug 15 08:29:19 server named: /etc/named.conf:5: parsing failed
Thanks for your help.
|

15th August 2005, 18:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,052
Thanks: 697
Thanked 4,245 Times in 3,258 Posts
|
|
Quote:
|
Originally Posted by radioguy
I noticed my Bind-server is off line. I just noticed it, so I'm not sure how it was broke or if it is. When I restart named, I get this message.
Aug 15 08:29:19 server named: /etc/named.conf:5: change directory to '/var/named/chroot/var/named' failed: file not found
Aug 15 08:29:19 server named:
Aug 15 08:29:19 server named: /etc/named.conf:5: parsing failed
Thanks for your help.
|
Is the file /etc/named.conf there?
|

15th August 2005, 19:22
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Eugene, OR
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes its there here are the contents:
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 "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "111.168.192.in-addr.arpa" {
type master;
file "pri.111.168.192.in-addr.arpa";
};
zone "cumuluseugene.com" {
type master;
file "pri.cumuluseugene.com";
};
//// MAKE MANUAL ENTRIES BELOW THIS LINE! ////
|

15th August 2005, 20:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
I guess the directory /var/named/chroot/var/named is missing?
|

15th August 2005, 20:19
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Eugene, OR
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Actually, it is there. Here are the contents:
chroot localdomain.zone named.broadcast named.ip6.local named.zero pri.cumuluseugene.com slaves
data localhost.zone named.ca named.local pri.111.168.192.in-addr.arpa pri.https:
|

15th August 2005, 20:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
I think this has to do with the fact that your Bind is running chrooted. Maybe some symlink that's missing...
|

17th August 2005, 02:23
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Eugene, OR
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It's fixed
I had a file permission problem. All is good now.
|

6th October 2005, 15:41
|
|
Junior Member
|
|
Join Date: Oct 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How did u solved? because I'm haveing the same problem...
|

3rd November 2005, 01:45
|
|
Junior Member
|
|
Join Date: Oct 2005
Location: Atlanta
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Same Issue
I have run into the same issue. It does seem to be a permissions issue with the chroot jail. No response from the poster, so if anyone has any information I would greatly appreciate your help.
Thanks
|

7th November 2005, 02:46
|
|
Junior Member
|
|
Join Date: Oct 2005
Location: Atlanta
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Successful Fix
I ventured back to the manual. Although everything was done properly during the installation, for some reason the permissions set for Named did not stay. I simply chmod'd the directories as the guide instructed and Bind was working again.
Brian
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 07:17.
|
|
Recent comments
9 hours 9 min ago
11 hours 37 min ago
23 hours 31 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 12 hours ago
1 day 22 hours ago
1 day 23 hours ago
2 days 8 hours ago
2 days 9 hours ago