Prev Previous Post   Next Post Next
  #1  
Old 8th March 2006, 19:51
spaz spaz is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Exclamation Bind-Chroot-Howto (Debian)

Running Debian Sarge, 2.6.11 k7, on a server that also serves apache virtual sites. Server has an internal ip address, 192.168.x.x, is behind a router that forwards ports 80, 22, plus additional ports for bind, smtp (not setup yet) and one or two other ports I can't recall right now to the server.

Followed your how-to, bind-chroot-debian,
# /etc/init.d/bind9 start, get the following in log:

named[25046]: starting BIND 9.2.4 -u bind -t /var/lib/named
named[25046]: using 1 CPU
named[25046]: loading configuration from '/etc/bind/named.conf'
named[25046]: none:0: open: /etc/bind/named.conf: permission denied
named[25046]: loading configuration: permission denied
named[25046]: exiting (due to fatal error)

time and server name from log lines above removed to make more readable.

I think I have a permission problem in one of the directories created during one of the steps. After it failed the first time and I couldn't figure out what was wrong, I removed (purged) bind9 and started over a couple of times. But the directories that are created during one of the steps in the how-to remained, so the directory/permission problem may remain as well, if that is the problem.

Note that I had a restrictive umask setting for root as I am very paranoid about security. After I ran into problems, I changed it back to what was recommended to me on a debian list or what I found on another debian install, can't remember which.

Thinking back, I may have bind running as the wrong user, the config file may have the wrong user or group set, and I did try to make the config file readable to all to see if that fixed the problem. Nothing worked.

In /etc, the bind directory has root and bind as user/group, with rwxr-sr-x as permissions, the named.conf file is bind/bind with 664, rndc.key is 640 and all the other files in /etc/bind are user/group bind/bind and either 664 or 644

Thanks in advance for any help.
Reply With Quote
The Following User Says Thank You to spaz For This Useful Post:
AbannyvabVask (13th November 2013)
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind chroot configuration Toffee Installation/Configuration 6 13th March 2009 16:51
mono on debian howto ColdDoT Suggest HOWTO 0 3rd February 2006 18:33
Debian sarge howto adsl configuration FullEraser HOWTO-Related Questions 4 21st December 2005 23:44
HowTo convert a diff to a debian kernel-patch? BjoKa HOWTO-Related Questions 0 18th December 2005 22:23
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 03:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.