"no database file" driving me nuts

Kevin Darcy kcd at daimlerchrysler.com
Wed Apr 18 21:29:52 UTC 2001


Does the "sz" subdirectory exist? named won't create it for you. Also, if you
are running unprivileged, maybe you're running into some sort of permissions
problems. Look in your logs.


- Kevin

Duke wrote:

> I've set up a new server with BIND 9.1.1.  All is fine and dandy with it,
> except when someone tries to transfer a zone off it.  My ISP who should be
> secondary off me is not getting the zones, so I used another server I had
> for testing.  This one is running 9.0.1.  Here's what happens:
>
> Server2 (9.0.1) named.conf:
>
> ....
> zone "zone1.com" {
>         type slave;
>         file "sz/zone1.com.db";
>         masters { IP_of_Server1(9.1.1); };
> };
>
> zone "zone2.com" {
>         type slave;
>         file "sz/zone2.com.db";
>         masters { IP_of_Server1(9.1.1); };
> };
> ....
>
> a kiallall -HUP named produces this in /var/log/messages:
> Apr 14 17:47:56 erbium named[10937]: dns_zone_load: zone zone1.com/IN: no
> database file
> Apr 14 17:47:56 erbium named[10937]: dns_zone_load: zone zone2.com/IN: no
> database file
>
> then eventually I get:
> Apr 14 17:48:52 erbium named[10937]: transfer of 'zone1.com' from
> 1.2.3.4#53: end of transfer
> Apr 14 17:48:53 erbium named[10937]: transfer of 'zone2.com' from
> 1.2.3.4#53: end of transfer
>
> but nothing is transferred, at least not written to disk.  I've tried
> creating the files manually to no avail.  Also, I do not get anything in
> /var/log/messages on Server1 saying that a zone transfer was successful or
> failed.





More information about the bind-users mailing list