On Mon, 2005-12-12 at 14:03 -0800, Jonathan Nichols wrote:
> > Dec 12 15:51:39 bullet named[7709]: couldn't open pid file
> > '/var/run/named.pid': Permission denied
>
> > drwxr-xr-x 2 named named 4096 Dec 12 14:13 named
> >
> > There is a named directory there, but it's empty. I assume that it was
> > automatically created when I emerged bind early this afternoon. Any
> > thoughts on what's causing this error?
> >
>
> It's trying to put the pid file in /var/run - you need to change
> named.conf to have it put it in /var/run/named instead
>
> in named.conf:
>
> pid-file "/var/run/named/named.pid";
>
> That should solve that problem for you.
>
Dec 12 16:12:41 bullet named[9069]: starting BIND 9.2.5 -u named -n 1
Dec 12 16:12:41 bullet named[9069]: using 1 CPU
Dec 12 16:12:41 bullet named[9071]: loading configuration from
'/etc/bind/named.conf'
Dec 12 16:12:41 bullet named[9071]: /etc/bind/named.conf:15: unknown
option 'pid-file'
Dec 12 16:12:41 bullet named[9071]: loading configuration: failure
Dec 12 16:12:41 bullet named[9071]: exiting (due to fatal error)
Here's my /etc/bind/named.conf:
bullet log # cat /etc/bind/named.conf
options {
directory "/etc/bind";
};
zone "espersunited.com" in {
type master;
file "db.espersunited.com";
};
zone "." in {
type hint;
file "db.cache";
};
pid-file "/var/run/named/named.pid";
It still won't start.
--
[email protected] mailing list