could not start named.conf
Niall O'Reilly
Niall.oReilly at ucd.ie
Mon Aug 13 11:21:09 UTC 2007
On 13 Aug 2007, at 12:06, Adriatik Allamani wrote:
> Aug 13 12:02:54 ns1 named[4449]: couldn't open pid file
> '/var/run/named/named.pid': Permission denied
> Aug 13 12:02:54 ns1 named[4449]: exiting (due to early fatal error)
>
>
> My named.conf file is below:
>
>
> options {
> directory "/var/named";
> dump-file "/var/named/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
>
> // query-source address * port 53;
> };
Where do you actually want the PID file: in /var/named or in
/var/run/named ?
Whichever directory you choose must exist and be writable.
I suggest adding the option
pid-file "named.pid";
This will force the PID file to be in the directory specified
in the 'directory' option (/var/named).
/Niall
More information about the bind-users
mailing list