These are the directories permissions:

[EMAIL PROTECTED] bind # ls /etc/bind/* -l
-rw-r--r--  1 root  root  768 May  4 10:00 /etc/bind/named.conf
lrwxrwxrwx  1 root  root   18 May  4 10:00 /etc/bind/pri -> ../../var/bind/pri
-rw-------  1 named named  77 May  4 10:00 /etc/bind/rndc.key
lrwxrwxrwx  1 root  root   18 May  4 10:00 /etc/bind/sec -> ../../var/bind/sec

[EMAIL PROTECTED] bind # ls /var/run/named -ld
drwxr-xr-x  2 named named 48 May  4 10:00 /var/run/named
[EMAIL PROTECTED] bind # ls /var/bind/* -l
-rw-r--r--  1 named named 2518 May  4 10:00 /var/bind/named.ca
lrwxrwxrwx  1 named named   23 May  4 10:00 /var/bind/root.cache ->
../../var/bind/named.ca

/var/bind/pri:
total 8
-rw-r--r--  1 named named 227 May  4 10:00 127.zone
-rw-r--r--  1 named named 412 May  4 10:00 localhost.zone

/var/bind/sec:
total 0

[EMAIL PROTECTED] bind # ls /var/bind -ld
drwxr-xr-x  4 named named 152 May  4 10:00 /var/bind

Tks,

Claudinei Matos

On 5/4/05, Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] bind # named -c named.conf -g
> > May 04 10:56:09.385 starting BIND 9.2.2-P1 -c named.conf -g
> > May 04 10:56:09.385 using 2 CPUs
> > May 04 10:56:09.387 loading configuration from '/etc/bind/named.conf'
> > May 04 10:56:09.388 listening on IPv4 interface lo, 127.0.0.1#53
> > May 04 10:56:09.390 none:0: open: /etc/bind/rndc.key: permission denied
> > May 04 10:56:09.390 couldn't add command channel 127.0.0.1#953:
> > permission denied
> > May 04 10:56:09.390 ignoring config file logging statement due to -g
> > option
> > May 04 10:56:09.390 couldn't open pid file '/var/run/named/named.pid':
> > Permission denied
> > May 04 10:56:09.390 exiting (due to early fatal error)
> 
> Hi, Claudinei!
> 
> Can you post the permissions for the /etc/bind directory, /etc/bind/* files,
> /var/run/named directory, and /var/run/named/* files?
> 
> Just from the log it appears that named is choking on these.  It's
> surprising that they're choking even though you run the command as root with
> it's god privileges...
> 
> Anyways, the named.conf file that you posted looks fine, I don't see any
> obvious problems...
> 
> Dave
> 
>

-- 
gentoo-user@gentoo.org mailing list

Reply via email to