Of course, you are correct. Thanks!<br><br><div class="gmail_quote">On Wed, Oct 27, 2010 at 9:49 PM, Matthijs Mekking <span dir="ltr"><<a href="mailto:matthijs@nlnetlabs.nl">matthijs@nlnetlabs.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi James,<br>
<br>
</div>Could this be because of your quick fix by changing "%s.axfr" to "%s" in<br>
signer/src/tools/zone_fetcher.c:971 already renames the file?<br>
<br>
Best regards,<br>
<br>
Matthijs<br>
<div class="im"><br>
On 10/27/2010 04:13 AM, James Dempsey wrote:<br>
> Matthijs,<br>
><br>
> Thanks for the quick change! After deploying r4138, the files were<br>
> indeed renamed from zone.axfr to zone, however, It looks like<br>
> tools_read_input() at signer/src/signer/tools.c:52 expects the unsigned<br>
> zone file to be named zone.axfr, when the file appears to have already<br>
> been renamed. Reverting the changes to tools.c introduced by r4138 has<br>
> allowed me to do zone fetches without error.<br>
><br>
> With r4138, I was seeing the following error messages:<br>
> Oct 27 01:35:34 sign1 openCryptokiModule[18297]: unable to open file<br>
> /var/opendnssec/unsigned/ZONE.axfr for reading: No such file or directory<br>
> Oct 27 01:35:34 sign1 openCryptokiModule[18297]: unable to copy axfr<br>
> file /var/opendnssec/unsigned/ZONE.axfr to /var/opendnssec/unsigned/ZONE<br>
><br>
> Cheers,<br>
> James<br>
><br>
> On Tue, Oct 26, 2010 at 2:02 AM, Matthijs Mekking <<a href="mailto:matthijs@nlnetlabs.nl">matthijs@nlnetlabs.nl</a><br>
</div><div class="im">> <mailto:<a href="mailto:matthijs@nlnetlabs.nl">matthijs@nlnetlabs.nl</a>>> wrote:<br>
><br>
> Hi James,<br>
><br>
> I have committed some changes to make the initial round of errors go<br>
> away. Please try r4138 and thanks for the report.<br>
><br>
> Best regards,<br>
><br>
> Matthijs<br>
><br>
> On 10/22/2010 04:42 AM, James Dempsey wrote:<br>
>> On Fri, Oct 22, 2010 at 10:32 AM, James Dempsey <<a href="mailto:jamespd@gmail.com">jamespd@gmail.com</a><br>
> <mailto:<a href="mailto:jamespd@gmail.com">jamespd@gmail.com</a>><br>
</div><div><div></div><div class="h5">>> <mailto:<a href="mailto:jamespd@gmail.com">jamespd@gmail.com</a> <mailto:<a href="mailto:jamespd@gmail.com">jamespd@gmail.com</a>>>> wrote:<br>
><br>
>> Hi all,<br>
><br>
>> I'm having a problem with the zone fetcher while running the<br>
>> OpenDNSSEC trunk (r4129) on Debian Squeeze. Zones appear to be<br>
>> fetched and the resulting<br>
> /var/opendnssec/unsigned/<zone-name>.axfr<br>
>> file looks complete, but OpenDNSSEC doesn't rename the file<br>
>> to /var/opendnssec/unsigned/<zone-name> and sign it. Has anyone<br>
>> else seen this, or can anyone point me to the line of code that<br>
>> renames the .axfr files?<br>
><br>
>> I see the zone fetch success in syslog:<br>
><br>
>> ods-signerd: zone fetcher received NOTIFY for zone <zone-name><br>
>> ods-signerd: zone fetcher transferred zone <zone-name> serial<br>
>> 2010102164 successfully<br>
><br>
>> On the console, I get the following messages:<br>
><br>
>> /bin/cp: cannot stat `/var/opendnssec/unsigned/<zone-name>':<br>
> No such<br>
>> file or directory<br>
>> Zone <zone-name> scheduled for immediate re-sign.<br>
><br>
><br>
>> Cheers,<br>
>> James<br>
><br>
><br>
>> As best I can tell, this rename was done in version 1.1.3<br>
>> in OpenDNSSEC-1.1.3/signer/signer_engine/Zone.py:279. I can't<br>
> find the<br>
>> equivalent code in trunk. I attempted a quick fix by changing<br>
> "%s.axfr"<br>
>> to "%s" in signer/src/tools/zone_fetcher.c:971<br>
><br>
>> snprintf(dest_file, sizeof(dest_file), "%s.axfr",<br>
><br>
>> While this seemed to remove the roadblock, I'm still seeing an initial<br>
>> round of errors on the console before OpenDNSSEC starts processing<br>
> data.<br>
><br>
>> /bin/cp: cannot stat `/var/opendnssec/unsigned/<zone-name>': No such<br>
>> file or directory<br>
><br>
>> Thanks,<br>
>> James<br>
><br>
><br>
><br>
>> _______________________________________________<br>
>> Opendnssec-user mailing list<br>
>> <a href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a><br>
</div></div>> <mailto:<a href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a>><br>
<div class="im">>> <a href="https://lists.opendnssec.org/mailman/listinfo/opendnssec-user" target="_blank">https://lists.opendnssec.org/mailman/listinfo/opendnssec-user</a><br>
_______________________________________________<br>
Opendnssec-user mailing list<br>
<a href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a><br>
</div><mailto:<a href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a>><br>
<div class="im"><a href="https://lists.opendnssec.org/mailman/listinfo/opendnssec-user" target="_blank">https://lists.opendnssec.org/mailman/listinfo/opendnssec-user</a><br>
<br>
> _______________________________________________<br>
> Opendnssec-user mailing list<br>
> <a href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a><br>
> <a href="https://lists.opendnssec.org/mailman/listinfo/opendnssec-user" target="_blank">https://lists.opendnssec.org/mailman/listinfo/opendnssec-user</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iQEcBAEBAgAGBQJMx+eiAAoJEA8yVCPsQCW5kB4IAMRoZwY/NLcC6/d6NFYyw/J0<br>
RqHCfpAkIn7+xNg+cZ9gSbAdGJLYzxdxwoZGir0NFwxcG+OoyCroucBa/7QPJld2<br>
GXlITyCWsYYwedSvCXQ0V9U08kLENwV3m6Eqj02HKK1xqzqieYy6UH/uAb6dSg9M<br>
XndjKnULh1RAyAWFA63BQjKXsKK0CrsPquIzXVE5vKA5ADj4KQ8iLFUgBvOOxf8Y<br>
orwfEqsJXlqJRRdlAO7zk/DGcZe4g+Jz15GIt4ADCT4t6FDtHWHUuF/eVHevKlXd<br>
ppUN3+Urc/9aqKG0hM74i6jca54uUKbbO7Xiv7Lfn08i3gxwEVdj9LylgOqVqpE=<br>
=YGi5<br>
<div><div></div><div class="h5">-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Opendnssec-user mailing list<br>
<a href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a><br>
<a href="https://lists.opendnssec.org/mailman/listinfo/opendnssec-user" target="_blank">https://lists.opendnssec.org/mailman/listinfo/opendnssec-user</a><br>
</div></div></blockquote></div><br>