could not start named.conf

Adriatik Allamani aallamani at ert.gov.al
Mon Aug 13 15:29:50 UTC 2007


On Mon, 2007-08-13 at 13:26 +0200, Adam Tkac wrote:
> 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


Permission for /var/run/named is:

drwxrwx---  2 named   named   4096 Jul 24 18:51 named

Inside the /var/run/named directory has no named.pid, it is empty I
think??

when I get in the folder, it has nothing. And ls -l command shows:

total 0


Thanks
Adriatik

> > 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