Skip to content

d2entry - Could not open id2entry err 0 - at startup when having sub-suffixes #6224

Closed
@progier389

Description

@progier389

Issue Description
Description of problem:
Sub suffix causes the following error when the Directory Server starts

```
ERR - id2entry - Could not open id2entry err 0
ERR - dn2entry_ext - The dn "ou=test,dc=example,dc=com" was in the entryrdn index, but it did not exist in id2entry of instance test.
```

Package Version and Platform:

  • Platform: RHEL
  • Package and version: 389-ds-base-2.2.7-3.module+el9dsrv+18864+4949f8c5.x86_64

Steps to Reproduce

  1. Install 389-ds-base-2.2.7-3.module+el9dsrv+18864+4949f8c5.x86_64
  2. Set up as follows
DHOST=$(hostname -s)
cat << EOF > /root/$DHOST.inf
[general]
[slapd]
instance_name = $DHOST
root_password = password1
[backend-userroot]
create_suffix_entry = True
suffix = dc=example,dc=com
EOF
dscreate from-file /root/$DHOST.inf
dsconf $DHOST backend create --suffix="ou=test,dc=example,dc=com" --be-name="test" --parent-suffix="dc=example,dc=com" --create-suffix

  1. Restart the Directory Server and find the ERRs.
dsctl $DHOST restart
grep -A1 "Could not open id2entry" /var/log/dirsrv/slapd-$DHOST/errors

Expected results
No error.

Additional context
RHEL Bug: https://issues.redhat.com/browse/DIRSRV-53

Triaged: https://issues.redhat.com/browse/IDMDS-4306

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions