Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Apr 2001 00:18:12 +0100
From:      Mark Drayton <mark.drayton@4thwave.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DNS primary, secondary question
Message-ID:  <20010405001812.A4336@tethys.valhalla.net>
In-Reply-To: <3ACB7FF0.A0497039@hotmail.com>; from cckok00@hotmail.com on Wed, Apr 04, 2001 at 04:11:28PM -0400
References:  <Pine.A41.4.10.10104041432250.9122-100000@bessel.tekniikka.turkuamk.fi> <20010404151623.A9882@tethys.valhalla.net> <3ACB7FF0.A0497039@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Kok (cckok00@hotmail.com) wrote:
> I also have the Secondary name server question:
> the var/log/message is found in the following messages
>
> Apr  5 04:13:29 dns2 named: named startup succeeded
> Apr  5 04:13:29 dns2 named[5453]: group = 25
> Apr  5 04:13:29 dns2 named[5453]: user = named
> Apr  5 04:13:29 dns2 named[5453]: Ready to answer queries.
> Apr  5 04:13:36 dns2 named[5453]: secondary zone "0.168.192.in-addr.arpa" expired
> Apr  5 04:13:36 dns2 named[5453]: hint zone "" (IN) loaded (serial 0)
> Apr  5 04:13:36 dns2 named-xfer[5457]: can't make tmpfile (/var/named/db.192.168.0.HABHfi): Permission denied
> Apr  5 04:13:43 dns2 named[5453]: secondary zone "akc.com" expired
> Apr  5 04:13:43 dns2 named[5453]: hint zone "" (IN) loaded (serial 0)
> Apr  5 04:13:43 dns2 named-xfer[5458]: can't make tmpfile (/var/named/db.akc.com.JdEOJz): Permission denied
>
> What is the meaning of?
>
> Apr  5 04:13:36 dns2 named-xfer[5457]: can't make tmpfile
> (/var/named/db.192.168
> .0.HABHfi): Permission denied
> Apr  5 04:13:43 dns2 named-xfer[5458]: can't make tmpfile
> (/var/named/db.akc.
> com.JdEOJz): Permission denied

This is because the named user ('named' in your case) doesn't have write
permission on /var/named. It needs to write the zone information it
transferred from the primary nameserver into this directory. Try

    chown named /var/named

Hope this helps,

-- 

Mark Drayton

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010405001812.A4336>