I have not tried with Alma Linux 8 yet (we are mainly a "Rocky/CentOS/RHEL site")
Did another quick-n-dirty test. Switched 2.6 => 2.5 (did not touch the config and database files from v2.6)
# wget -q https://repo.symas.com/configs/SOLDAP/rhel8/release25.repo -O /etc/yum.repos.d/soldap-release25.repo # yum erase symas-openldap-clients symas-openldap-servers (and deps) # vi /etc/yum.repos.d/soldap-release26.repo (disable repo) # yum install symas-openldap-clients symas-openldap-servers # systemctl start slapd # systemctl status slapd
This version is working!
________________________________ Från: Quanah Gibson-Mount quanah@fast-mail.org Skickat: den 26 april 2022 20:41 Till: Magnus Morén magnus.moren@hh.se; openldap-technical@openldap.org openldap-technical@openldap.org Ämne: Re: slapd (Symas 2.6.1) does not start with syncprov
--On Tuesday, April 26, 2022 12:00 PM -0700 Quanah Gibson-Mount quanah@fast-mail.org wrote:
--On Tuesday, April 26, 2022 6:56 PM +0000 Magnus Morén magnus.moren@hh.se wrote:
Please provide the original config DB prior to the addition of the syncprov LDIF being applied, passwords redacted.
I'm not able to reproduce:
root@ub18:/opt/symas/etc/openldap# ldapmodify -x -H ldap:/// -D cn=config -w secret dn: cn=module{0},cn=config changetype: modify add: olcModuleLoad olcModuleLoad: syncprov.la
dn: olcOverlay=syncprov,olcDatabase={1}mdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov modifying entry "cn=module{0},cn=config" olcSpCheckpoint: 100 10 olcSpSessionlog: 100
dn: olcDatabase={1}mdb,cn=config changetype: modify add: olcDbIndex olcDbIndex: entryCSN,entryUUID eq
adding new entry "olcOverlay=syncprov,olcDatabase={1}mdb,cn=config"
modifying entry "olcDatabase={1}mdb,cn=config"
root@ub18:/opt/symas/etc/openldap# root@ub18:/opt/symas/etc/openldap# root@ub18:/opt/symas/etc/openldap# ps -eaf | grep slapd root 41799 1 0 18:38 ? 00:00:00 /opt/symas/lib/slapd -d 0 -h ldap:/// ldaps:/// ldapi:/// root 41819 39679 0 18:39 pts/1 00:00:00 grep --color=auto slapd root@ub18:/opt/symas/etc/openldap# systemctl restart slapd root@ub18:/opt/symas/etc/openldap# ps -eaf | grep slapd root 41823 1 0 18:39 ? 00:00:00 /opt/symas/lib/slapd -d 0 -h ldap:/// ldaps:/// ldapi:/// root 41848 39679 0 18:39 pts/1 00:00:00 grep --color=auto slapd
Although this is Ubuntu rather than RedHat.
I would suspect that this may be related to the use of RockyLinux. Do you encounter the same issue with Alma Linux8?
Regards, Quanah