could not start named.conf

Adriatik Allamani aallamani at ert.gov.al
Mon Aug 13 11:06:46 UTC 2007


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)


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

-- 
Adriatik ALLAMANI
Specialist of Information Technology Sector
Tirana / Albania
Telephone: 00 355 4 250 926
Fax:  00 355 4 259 106



More information about the bind-users mailing list