Failure after update 425

Just ran the 425 update and the SLAP will not restart.

Sep 14 10:48:23 ad01 univention-firewall[22639]: Flushing all iptable chains:done.
Sep 14 10:48:24 ad01 univention-firewall[22639]: Starting Univention iptables --wait configuration...done.
Sep 14 10:48:24 ad01 systemd[1]: Started LSB: Univention iptables --wait configuration.
Sep 14 10:48:24 ad01 systemd[1]: Stopping LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
Sep 14 10:48:25 ad01 slapd[22937]: Stopping ldap server(s): slapd ...done.
Sep 14 10:48:25 ad01 systemd[1]: slapd.service: Succeeded.
Sep 14 10:48:25 ad01 systemd[1]: Stopped LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Sep 14 10:48:26 ad01 systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
Sep 14 10:48:26 ad01 slapd[22965]: Starting ldap server(s): slapd .../etc/ldap/slapd.conf: line 143: index attribute "ucsAttr1" undefined
Sep 14 10:48:26 ad01 slapd[22965]: failed.
Sep 14 10:48:26 ad01 slapd[22965]: WARNING: Another /etc/init.d/slapd start is already in progress..
Sep 14 10:48:26 ad01 systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Sep 14 10:48:26 ad01 systemd[1]: slapd.service: Failed with result 'exit-code'.
Sep 14 10:48:26 ad01 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Sep 14 10:48:28 ad01 systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
Sep 14 10:48:28 ad01 slapd[23041]: Starting ldap server(s): slapd .../etc/ldap/slapd.conf: line 143: index attribute "ucsAttr1" undefined
Sep 14 10:48:28 ad01 slapd[23041]: failed.
Sep 14 10:48:28 ad01 slapd[23041]: WARNING: Another /etc/init.d/slapd start is already in progress..
Sep 14 10:48:28 ad01 systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Sep 14 10:48:28 ad01 systemd[1]: slapd.service: Failed with result 'exit-code'.
Sep 14 10:48:28 ad01 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Sep 14 10:48:28 ad01 systemd[1]: Stopping Univention Directory Listener Daemon...
Sep 14 10:48:28 ad01 systemd[1]: univention-directory-listener.service: Main process exited, code=killed, status=15/TERM
Sep 14 10:48:28 ad01 systemd[1]: univention-directory-listener.service: Succeeded.
Sep 14 10:48:28 ad01 systemd[1]: Stopped Univention Directory Listener Daemon.

Specifically on line 143 of the slapd.conf

“ucsAttr1” which is what?

after removing this, the server started correctly.

also removed “ucsAttr1,ucsAttr2”, from

/etc/univention/base.conf

what are these?

Today i updated one of my UCS servers to 425. LDAP starts normal. No entries like ucsAttr1,ucsAttr2 in my bas.conf. :roll_eyes:

Yep… I think it must be something from the past, and when a certain updates occur in UCS, the file is used to reinit other files and that is when it breaks
maybe related to some old package update/install that has been hanging around

Mastodon