could not start named.conf
Adriatik Allamani
aallamani at ert.gov.al
Mon Aug 13 15:04:06 UTC 2007
Thanks for the help.
I added the line:
};
pid-file "/var/named/named.pid";
};
in the named.conf file. But it comes again with errors:
Aug 13 16:00:46 ns1 named[4142]: starting BIND 9.2.4
Aug 13 16:00:46 ns1 named[4142]: using 2 CPUs
Aug 13 16:00:46 ns1 named[4142]: loading configuration from
'/etc/named.conf'
Aug 13 16:00:46 ns1 named[4142]: /etc/named.conf:43: unknown option
'pid-file'
Aug 13 16:00:46 ns1 named[4142]: loading configuration: failure
Aug 13 16:00:46 ns1 named[4142]: exiting (due to fatal error)
Actually I am not good in Linux.
Thanks
On Mon, 2007-08-13 at 12:21 +0100, Niall O'Reilly wrote:
> 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
Adriatik ALLAMANI
Specialist of Information Technology Sector
Telecommunications Regulatory Entity - TRE
"Reshit Çollaku" Str, No. 43
PO. Box: 253/1
Tirana / Albania
Telephone: 00 355 4 250 926
Fax: 00 355 4 259 106
Email: aallamani at ert.gov.al
www.ert.gov.al
More information about the bind-users
mailing list