<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 03/10/2014 04:14 PM, Timothy Pollard
      wrote:<br>
    </div>
    <blockquote cite="mid:20140311081439.09c09476@helez.timp.com.au"
      type="cite">
      <pre wrap="">Hi,

We received this strange error a few hours ago for one of our DNS entries:

[10/Mar/2014:15:56:01 +0000] - str2entry_fast: Error. Non-contiguous attribute values for tXTRecord
[10/Mar/2014:15:56:01 +0000] - Entry "relativeDomainName=testingstatus,zoneName=OURORG.com,dc=DNS,o=Internet" required attribute "objectclass" missing

This is a monitor DNS entry that we update every four minutes to verify that our
Replication is working across the board, so that next error repeats every four
minutes as we try to update the entry.

The entry looks like it's had everything except for the tXTRecord field deleted
as well. Fortunately it's a testing entry, so we can easily rebuild it manually.

This error occurred a few minutes after a bad restart which required a changelog
regenerate, so that may be related.

Anyone know what might cause this?</pre>
    </blockquote>
    <br>
    No.  Let's take a look at the entry with state information:<br>
    <br>
    ldapsearch -x -D "cn=directory manager" -W -s base -b "relativeDomainName=testingstatus,zoneName=OURORG.com,dc=DNS,o=Internet"
    "objectclass=*" nscpEntryWsi<br>
    <br>
    If that doesn't work, let's take a look at the raw database entry:<br>
    <br>
    dbscan -f /var/lib/dirsrv/slapd-INST/db/userRoot/entryrdn.* | grep
    -i relativeDomainName=testingstatus<br>
    <br>
    That will tell you the ID e.g. ID: 10<br>
    <br>
    Then use that ID to look at the raw database entry:<br>
    <br>
    dbscan -f /var/lib/dirsrv/slapd-INST/db/userRoot/id2entry.* -K 10<br>
    <br>
    <blockquote cite="mid:20140311081439.09c09476@helez.timp.com.au"
      type="cite">
      <pre wrap="">

--
TimP
[<a class="moz-txt-link-freetext" href="http://blog.timp.com.au">http://blog.timp.com.au</a>]
[<a class="moz-txt-link-freetext" href="http://resume.timp.com.au">http://resume.timp.com.au</a>]
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
389 users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>