<div>On Fri, Oct 22, 2010 at 10:32 AM, James Dempsey <span dir="ltr"><<a href="mailto:jamespd@gmail.com">jamespd@gmail.com</a>></span> wrote:</div><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div><br></div><div>I'm having a problem with the zone fetcher while running the OpenDNSSEC trunk (r4129) on Debian Squeeze. Zones appear to be fetched and the resulting /var/opendnssec/unsigned/<zone-name>.axfr file looks complete, but OpenDNSSEC doesn't rename the file to /var/opendnssec/unsigned/<zone-name> and sign it. Has anyone else seen this, or can anyone point me to the line of code that renames the .axfr files?</div>
<div><br></div><div>I see the zone fetch success in syslog:</div><div><br></div><div>ods-signerd: zone fetcher received NOTIFY for zone <zone-name></div><div>ods-signerd: zone fetcher transferred zone <zone-name> serial 2010102164 successfully</div>
<div><br></div><div>On the console, I get the following messages:</div><div><br></div><div><div>/bin/cp: cannot stat `/var/opendnssec/unsigned/<zone-name>': No such file or directory</div><div>Zone <zone-name> scheduled for immediate re-sign.</div>
</div><div><br></div><div><br></div><div>Cheers,</div><div>James</div></blockquote><div> </div></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>As best I can tell, this rename was done in version 1.1.3 in OpenDNSSEC-1.1.3/signer/signer_engine/Zone.py:279. I can't find the equivalent code in trunk. I attempted a quick fix by changing "%s.axfr" to "%s" in signer/src/tools/zone_fetcher.c:971</div>
<div><br></div><div><div> snprintf(dest_file, sizeof(dest_file), "%s.axfr",</div><div><br></div><div>While this seemed to remove the roadblock, I'm still seeing an initial round of errors on the console before OpenDNSSEC starts processing data.</div>
<div><br></div><div>/bin/cp: cannot stat `/var/opendnssec/unsigned/<zone-name>': No such file or directory</div><div><br></div><div>Thanks,</div><div>James</div></div></div></div>