[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Named



On Wed, 22 Sep 1999, Philippe April wrote:

> My named v8 used to work perfectly but now when I refresh it gives me
> 
> Sep 22 17:25:28 tux named[400]: ctl_server: bind: No such file or directory
> Sep 22 17:25:28 tux named[400]: couldn't create pid file '/var/run/named.pid'

In a chroot()  ('named -t <path>') environment, the directory 
<path>/var/run should exist, and if you change user ('.. -u named'), you
should make sure this dir is writable (likely owned) by user named.

> 
> And of course:
> 
> No default TTL set using SOA minimum instead
> 
> Anybody got any idea on how to fix this? I tried to reinstall so many times..
> 

The SOA value meaning changed slightly in v8.

To avoid this warning, add the TTL directive to your zone file, such as

------------

$TTL 21600
foo.bar.  IN  SOA ...(and so on)

...
-------------

Good luck,
  Håkan.

--
Håkan Olsson           Email: hakan@netman.se   Fax: (+46)31 779 7844
Network Management AB  Tel  : (+46)31 779 7840  Mob: (+46)708 437 337

PGP bits/KeyID  : 1024/CED5D55 1998/02/13 Hakan Olsson <ho@netman.se>
Key fingerprint :     4D 50 9F 03 ED A9 37 BD B6 16 96 59 22 C9 85 1D