<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">
      <pre wrap="">Hi Stuart.

The message "Cannot open destination file, will not make backup."
indicates that the zonelist can not be backed up; does the process have
permissions to create the file:

/home/gtld/software/opendnssec-1.4.0/etc/opendnssec/zonelist.xml.backup

?

However the zone was successfully added to the database, so when trying
again it fails at that point. The update makes the database reflect the
zonelist (which wasn't updated) so the zone is removed...

I believe that if you fix the permissions on the directory above it will
work okay.

Sion</pre>
      <br>
      <br>
      On 21/06/13 08:46, shuoleo@126 wrote:<br>
    </div>
    <blockquote cite="mid:201306211546054152971@126.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style>
BLOCKQUOTE {
        MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: 微软雅黑; COLOR: #000000; LINE-HEIGHT: 1.5
}
</style>
      <meta name="GENERATOR" content="MSHTML 10.00.9200.16438">
      <div><span>Hi All,</span></div>
      <div>
        <div><span></span> </div>
        <div><span>I am trying to add more TLDs to opendnssec but failed
            when adding zones.</span></div>
        <div><span></span> </div>
        <span>
          <div>[gtld@wtcenter bin]$ ./ods-ksmutil zone add -z dstest3</div>
          <div>zonelist filename set to /home/gtld/software/opendnssec-1.4.0/etc/opendnssec/zonelist.xml.</div>
          <div>Cannot open destination file, will not make backup.</div>
        </span>
        <div><span></span> </div>
        <div><span>and</span></div>
        <div><span>
            <div> </div>
            <div>[gtld@wtcenter bin]$ ./ods-ksmutil zone add -z dstest3 -jDNS -i /home/gtld/software/opendnssec-1.4.0/etc/opendnssec/addns.xml -qDNS -o /home/gtld/software/opendnssec-1.4.0/etc/opendnssec/addns.xml </div>
            <div>zonelist filename set to /home/gtld/software/opendnssec-1.4.0/etc/opendnssec/zonelist.xml.</div>
            <div>Cannot open destination file, will not make backup.</div>
          </span></div>
        <div><span></span> </div>
        <div><span></span> </div>
        <div><span>But when I tried the second one, it told me that
            "Failed to Import zone dstest3; it already exists", but when
            executing ods-ksmutil update all, the dstest3 zone is
            removed  from database.</span></div>
        <div><span>Is there something wrong ?</span></div>
        <div><span></span> </div>
        <div><span>Regards,</span></div>
        <div><span>Stuart</span></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Opendnssec-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opendnssec-user@lists.opendnssec.org">Opendnssec-user@lists.opendnssec.org</a>
<a class="moz-txt-link-freetext" href="https://lists.opendnssec.org/mailman/listinfo/opendnssec-user">https://lists.opendnssec.org/mailman/listinfo/opendnssec-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>