Hello There
Today i wanted to upgrade Univention to the new version 4.4-7.
Unfortunately, i’m no longer able to login to the webinterface.
When i checked the logs, i got the error
// management-console-server.log
Canonicalization of username was not possible: {'desc': "Can't contact LDAP server"}
// mail.log
postfix/cleanup[8180]: error: dict_ldap_connect: Unable to set STARTTLS: -1: Can't contact LDAP server
// univention-ldapsearch
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
I was now searching and trying things for hours but could just not find a solution to the problem.
The server tells me it’s running and do not seem to have problems.
root@ucs:/etc/univention/templates/files/etc/ldap# systemctl status slapd.service
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
Loaded: loaded (/etc/init.d/slapd; generated; vendor preset: enabled)
Active: active (exited) since Tue 2020-12-01 17:12:12 CET; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 7379 ExecStop=/etc/init.d/slapd stop (code=exited, status=0/SUCCESS)
Process: 7385 ExecStart=/etc/init.d/slapd start (code=exited, status=0/SUCCESS)
Dec 01 17:12:12 ucs systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
Dec 01 17:12:12 ucs systemd[1]: Started LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Update: 18:28 (01.12.2020)
It seems like the service is not listening on the expected ports.
(Actually it does not listen at all on any port).
Unfortunately, for that issue i cannot find a solution as well.
I also executed the update through the terminal again and rebootet the machine several times but no luck. It would be really helpful if someone here could help me with this.
Addition:
At the beginning, apache2 didn’t start either. It was blaming a missing file univention-udm.conf in sites-available. But that one i could solve by createing an empty file (if this is the correct way)?
Deutsch wäre auch ok.