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

Re: [cobalt-users] Named Error in Secondary DNS



On Wednesday 13 March 2002 06:38 pm, Landon Jenkins wrote:
> Curtis Ross wrote:
> > > I've been getting these errors when adding domains on my secondary name
> > > server:
> > > Mar  6 14:39:03 ns2 named-xfer[16736]: can't make tmpfile
> > > (sec.the-domain.com.nlyWeM): Permission denied
> > > Server is a RAQ4, fully patched. The domain does show up in the GUI and
> > > the 'Records' file. Any thoughts?
>
>
> True. That's the way it is supposed to work. In fact, the GUI reports that
> everything is set up correctly. However, if I look in /var/log/messages, I
> find these "can't make tmpfile - permission denied" errors. It's as though
> the sec.domain.com file is trying to be written by a user with no
> privileges.
>
> Here's a snip of what happens when starting named...
>
> Mar  6 14:12:59 ns2 named[551]: Forwarding source address is [0.0.0.0].1024
> Mar  6 14:12:59 ns2 named[552]: group = 25
> Mar  6 14:12:59 ns2 named[552]: user = named
> Mar  6 14:12:59 ns2 named[552]: Ready to answer queries.
> Mar  6 14:12:59 ns2 named-xfer[557]: can't make tmpfile
> (sec.domain.com.OfqLRa): Permission denied
> Mar  6 14:12:59 ns2 named-xfer[558]: can't make tmpfile
> (sec.domain.com.zOz7Da): Permission denied
> Mar  6 14:12:59 ns2 named-xfer[559]: can't make tmpfile
> (sec.domain.com.cXxVAc): Permission denied
>

check to see if you have a directory /etc/named
and see if named has permissions to write to it.

look at /etc/named.conf options container: (mine)
options {
        directory "/etc/named";
        allow-transfer { ip.ad.re.ss1; ip.ad.re.ss2; };
        version "my name server";
        listen-on { ip.ad.re.ss3; ip.ad.re.ss4; 127.0.0.1; };
};

important part is directory "/etc/named"

-- 
Gerald Waugh
New Haven, Connecticut USA