Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-142

"Duplicated DN detected" errors when creating indexes or importing entries. [dirsrv-12.4.z]

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • dirsrv-12.4.z
    • dirsrv-12.2, dirsrv-12.3
    • 389-ds-base
    • None
    • Important
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Description of a problem

      LDIF import or reindexing attempts are failing because of DB corruption issue.
      The typical error message is:
      ================================
      ERR - entryrdn_insert_key - Same DN (dn: <ENTRY_DN>) is already in the entryrdn file with different ID <XXX>.  Expected ID is <YYY>.
      ================================

      Version-Release number of the selected component

      rpm -q 389-ds-base cockpit-389-ds

      $ grep 389-ds <SOS_REPORT>/installed-rpms 
      389-ds-base-2.3.6-8.module+el9dsrv+20821+6bc979c1.x86_64    Tue Jul  2 15:12:59 2024
      389-ds-base-libs-2.3.6-8.module+el9dsrv+20821+6bc979c1.x86_64 Tue Jul  2 15:12:58 2024
      cockpit-389-ds-2.3.6-8.module+el9dsrv+20821+6bc979c1.noarch Tue Jul  2 15:13:01 2024
      $
      $ cat <SOS_REPORT>/etc/redhat-release 
      Red Hat Enterprise Linux release 9.3 (Plow)
      
      

      Steps to reproduce

      Issue could be seen at a few customer sites. 

      Actual results

      DB corruption

      Expected results

      Clean DB

      Additional information

      Issues seem to be happening on RHEL 9.2 ( RHDS 12.2 ) or later.

              tbordaz@redhat.com Thierry Bordaz
              rhn-support-tmihinto Têko Mihinto
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: