SV: SV: BIND9 master/slave - ixfr fails
Ronni Jensen
roj at mvb.dk
Mon Jan 23 15:12:19 UTC 2006
Sorry to disturb again..!
I found the error. I didn't use the absolute dir path "/etc/bind/data/m/mydomain.dk" to the zone in named.conf
I just had "data/m/mydomain.dk", which (I now know) didn't work.
Thank you for your help ;)
/jack
-----Oprindelig meddelelse-----
Fra: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] På vegne af Ronni Jensen
Sendt: 23. januar 2006 15:43
Til: Mark_Andrews at isc.org; Barry Margolin; bind-users at isc.org
Emne: SV: SV: BIND9 master/slave - ixfr fails
Thank you for your reply.
I had forgotten to chown data dirs to bind:bind - this is corrected now.
Now I don't get any messages in syslog when I restart BIND on NS2
server. But NS2 does still not transfer zones from NS1. What can be
wrong? named.conf on both servers look ok to me, and should allow
transfers.. :/
/jack
-----Oprindelig meddelelse-----
Fra: Mark_Andrews at isc.org [mailto:Mark_Andrews at isc.org]
Sendt: 23. januar 2006 13:17
Til: Ronni Jensen
Cc: Barry Margolin; bind-users at isc.org
Emne: Re: SV: BIND9 master/slave - ixfr fails
> Hello again,
>
> No, I don't have anything blocking port 53 at all. At the moment both
servers
> are just placed on a local network for testing/setup. Though, I get
these erro
> rs in /var/log/syslog when starting BIND on NS2:
>
> Jan 23 11:00:39 NS2 named[7469]: starting BIND 9.2.4 -u bind
> Jan 23 11:00:39 NS2 named[7469]: using 1 CPU
> Jan 23 11:00:39 NS2 named[7471]: loading configuration from
'/etc/bind/named.c
> onf'
> Jan 23 11:00:39 NS2 named[7471]: no IPv6 interfaces found
> Jan 23 11:00:39 NS2 named[7471]: listening on IPv4 interface lo,
127.0.0.1#53
> Jan 23 11:00:39 NS2 named[7471]: listening on IPv4 interface eth0,
10.10.2.246
> #53
> Jan 23 11:00:39 NS2 named[7471]: command channel listening on
127.0.0.1#953
> Jan 23 11:00:39 NS2 named[7471]: zone 0.in-addr.arpa/IN: loaded serial
1
> Jan 23 11:00:39 NS2 named[7471]: zone 127.in-addr.arpa/IN: loaded
serial 1
> Jan 23 11:00:39 NS2 named[7471]: zone 255.in-addr.arpa/IN: loaded
serial 1
> Jan 23 11:00:39 NS2 named[7471]: zone localhost/IN: loaded serial 1
> Jan 23 11:00:39 NS2 named[7471]: running
> Jan 23 11:00:39 NS2 named[7471]: dumping master file:
data/m/tmp-XXXXeo8SQ5: o
> pen: file not found
> Jan 23 11:00:39 NS2 named[7471]: transfer of 'mydomain.dk/IN' from
10.10.2.245
> #53: failed while receiving responses: file not found
> Jan 23 11:00:39 NS2 named[7471]: transfer of 'mydomain.dk/IN' from
10.10.2.245
> #53: end of transfer
>
> Any ideas? :)
Create the directory "data/m".
"file not found" == ENOENT
From "man 2 open"
[ENOENT] O_CREAT is not set and the named file does not
exist.
[ENOENT] A component of the path name that must exist
does not
exist.
Mark
> Best Regards,
> /jack
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list