Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-14025

After an upgrade the LDAP server won't start if nsslapd-conntablesize is present in the dse.ldif file. [rhel-8.10.0]

    • 389-ds-1.4-8100020240116191029.945b6f6d
    • Major
    • ZStream
    • 1
    • sst_idm_ds
    • ssg_idm
    • 25
    • 2
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • 389DS Sprint 65
    • Approved Blocker
    • Bug Fix
    • Hide
      .Directory Server now starts correctly after an upgrade if you configured a custom value for the connection table size

      Previously, if you set a custom value for the connection table size and the `nsslapd-conntablesize` attribute was present in the `dse.ldif` file, Directory Server did not start after an upgrade. With this release, Directory Server starts correctly after the upgrade with `nsslapd-conntablesize` present in the `dse.ldif` file.
      Show
      .Directory Server now starts correctly after an upgrade if you configured a custom value for the connection table size Previously, if you set a custom value for the connection table size and the `nsslapd-conntablesize` attribute was present in the `dse.ldif` file, Directory Server did not start after an upgrade. With this release, Directory Server starts correctly after the upgrade with `nsslapd-conntablesize` present in the `dse.ldif` file.
    • Done
    • x86_64
    • None

      Upstream ticket is 5956

      What were you trying to do that didn't work?

      After an OS upgrade, the LDAP server won't start.

      # ipactl start
      Starting Directory Service
      Failed to start Directory Service: CalledProcessError(Command ['/bin/systemctl', 'start', 'dirsrv@<INSTANCE>.service'] returned non-zero exit status 1)
      #
      

      One needs to remove the nsslapd-conntablesize definition from the /etc/dirsrv/slapd-<INSTANCE>/dse.ldif before the server could be started.

      Please provide the package NVR for which bug is seen:

      # cat /etc/redhat-release 
      Red Hat Enterprise Linux release 8.8 (Ootpa)
      #
      # rpm -qa | grep 389-ds
      389-ds-base-libs-1.4.3.35-2.module+el8.8.0+19693+b24f535c.x86_64
      389-ds-base-1.4.3.35-2.module+el8.8.0+19693+b24f535c.x86_64
      #
      

      How reproducible:

      Always.

      Steps to reproduce

      1. Configure a custom value for the CT size ( so the configuration parameter nsslapd-conntablesize is present in the dse.ldif file )
      2. Upgrade the system
      3. The LDAP server won't start after the upgrade
      4. From the errors log:
        [17/Oct/2023:14:45:29.422170234 +0200] - ERR - dse_read_one_file - The entry cn=config in file /etc/dirsrv/slapd-<INSTANCE>/dse.ldif (lineno: 17) is invalid, error code 1 (Operations error) - User setting of nsslapd-conntablesize attribute is disabled, server has auto calculated its value to 0.
        [17/Oct/2023:14:45:29.493095110 +0200] - ERR - init_dse_file - Could not load config file [dse.ldif]
        [17/Oct/2023:14:45:29.494808167 +0200] - ERR - setup_internal_backends - Please edit the file to correct the reported problems and then restart the server.
        

      Expected results

      Working LDAP server

      Actual results

      LDAP server cannot be started.

            jachapma James Chapman
            rhn-support-tmihinto Têko Mihinto
            IdM DS Dev IdM DS Dev
            IdM DS QE IdM DS QE
            Evgenia Martyniuk Evgenia Martyniuk
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: