Matthijs,<div><br><div>Thanks for the quick change! After deploying r4138, the files were indeed renamed from zone.axfr to zone, however, It looks like tools_read_input() at signer/src/signer/tools.c:52 expects the unsigned zone file to be named zone.axfr, when the file appears to have already been renamed. Reverting the changes to tools.c introduced by r4138 has allowed me to do zone fetches without error.</div>
<div><br></div><div>With r4138, I was seeing the following error messages:</div><div><div>Oct 27 01:35:34 sign1 openCryptokiModule[18297]: unable to open file /var/opendnssec/unsigned/ZONE.axfr for reading: No such file or directory</div>
<div>Oct 27 01:35:34 sign1 openCryptokiModule[18297]: unable to copy axfr file /var/opendnssec/unsigned/ZONE.axfr to /var/opendnssec/unsigned/ZONE</div><div><br></div><div>Cheers,</div><div>James</div><br><div class="gmail_quote">
On Tue, Oct 26, 2010 at 2:02 AM, 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;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<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>
<div class="im"><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>
</div><div><div></div><div class="h5">> <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 /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>': 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 find the<br>
> equivalent code in trunk. I attempted a quick fix by changing "%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 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>
</div></div>> _______________________________________________<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>
iQEcBAEBAgAGBQJMxYADAAoJEA8yVCPsQCW5eHEH/iQuogJrQPokpl1Wio8R4kHM<br>
XqL/abY0YnKGt0nk3uYOKdZG1sWLCBx1nrysfc/Qb8VmZ36GTiJbr0dbehsu2wwt<br>
WmuBumEi/oAA1c584u16+K4WyN4L71dwP3nVvv5gAjTAL+pqQBXoP0SO4WY2xl9H<br>
xdgyZ97Oq6qPcLToWTE1g2HbA4ij5ww3kDZ7fBFeLsK9oefQkXpbqJnlY/qYBOkP<br>
K9eIKtWAjQ2izqAmo+G9dUBwDPWwEAWjjaCaMpsfZO3QIopeWI5CCtJ9rdlJdw+b<br>
+snE9pfdEGx6AvtI1I1A7AHrityCdPueiRD9Ybsd15TfyTjWyeJgMNm2XSzTcis=<br>
=iuKG<br>
-----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>
</blockquote></div><br></div></div>