could not start named.conf

Adam Tkac atkac at redhat.com
Mon Aug 13 11:26:43 UTC 2007


Adriatik Allamani napsal(a):
> Hi
>
> I configured a Server to use as DNS.
> I am trying to start named.conf but it does not start:
>
> Aug 13 12:02:54 ns1 named[4449]: starting BIND 9.2.4
> Aug 13 12:02:54 ns1 named[4449]: using 2 CPUs
> Aug 13 12:02:54 ns1 named[4449]: loading configuration from
> '/etc/named.conf'
> Aug 13 12:02:54 ns1 named[4449]: listening on IPv4 interface lo,
> 127.0.0.1#53
> Aug 13 12:02:54 ns1 named[4449]: listening on IPv4 interface eth0,
> 217.24.249.76#53
> Aug 13 12:02:54 ns1 named[4449]: command channel listening on
> 127.0.0.1#953
> 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)
>   
BIND can't manipulate with his pid file. Check if your /var/run/named 
and /var/run/named/named.pid has correct perms.

Adam
>
> 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;
> };
>
>
> controls {
>         inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
>
> zone "." IN {
>         type hint;
>         file "named.ca";
> };
>
> zone "info.al" IN {
>         type master;
>         file "db.adrial.com";
>
> };
>
> zone "0.0.127.in-addr.arpa" IN {
>         type master;
>         file "db.127.0.0";
>
> };
>
>
>
> Can someone help me in this please?
>
>
> Thanks
>
> P.S: I was log as root. The named.conf is located in /etc
>
>   



More information about the bind-users mailing list