Univention management console 4.3 error

ucs-4-3

#1

I had installed UCS 4.3 and after upload UCS license and rebooting server cant login and saw this error

Internal server error: The service is temporarily not available.
Cannot connect to the LDAP service.
The following steps can help to solve this problem:

  • Check if enough hard disk space and free RAM is available on this server or free some resources
  • Restart the LDAP service on the domain controller master either via “service slapd restart” on command line or with the UMC module “System services”

#2

Hey,

sounds like your LDAP server isn’t running. Please log in via ssh & show the output of systemctl status slapd.service

Then try starting via systemctl start slapd.service and see if that makes a difference for the UMC.

Kind regards,
mosu


#3

Hi
I tried systemctl start slapd.service and nothing changed


#4

Hey,

please post the output of the following commands:

  • systemctl status slapd.service
  • univention-ldapsearch -s base dn

m.


#5
root@masterdc:~# systemctl start slapd.service
root@masterdc:~# systemctl status slapd.service
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access
   Loaded: loaded (/etc/init.d/slapd; generated; vendor preset: enabled)
   Active: active (running) since Mon 2018-04-09 14:24:11 +0430; 17min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1523 ExecStart=/etc/init.d/slapd start (code=exited, status=0/SUCCESS
 Main PID: 1972 (slapd)
    Tasks: 4 (limit: 4915)
   Memory: 17.3M
      CPU: 233ms
   CGroup: /system.slice/slapd.service
           └─1972 /usr/sbin/slapd -h ldapi:/// ldap://:7389/ ldap://:389/ ldaps:

Apr 09 14:24:03 masterdc systemd[1]: Starting LSB: OpenLDAP standalone server (L
Apr 09 14:24:06 masterdc slapd[1954]: @(#) $OpenLDAP: slapd  (Jan  9 2018 12:16:
                                              Debian OpenLDAP Maintainers <pkg-o
Apr 09 14:24:07 masterdc slapd[1954]: Loaded metadata from "/usr/share/univentio
Apr 09 14:24:09 masterdc slapd[1523]: Starting ldap server(s): slapd ...done.
Apr 09 14:24:10 masterdc ldapsearch[1978]: DIGEST-MD5 common mech free
Apr 09 14:24:11 masterdc slapd[1523]: Checking Schema ID: ...done.
Apr 09 14:24:11 masterdc systemd[1]: Started LSB: OpenLDAP standalone server (Li
lines 1-20/20 (END)...skipping...
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
   Loaded: loaded (/etc/init.d/slapd; generated; vendor preset: enabled)
   Active: active (running) since Mon 2018-04-09 14:24:11 +0430; 17min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1523 ExecStart=/etc/init.d/slapd start (code=exited, status=0/SUCCESS)
 Main PID: 1972 (slapd)
    Tasks: 4 (limit: 4915)
   Memory: 17.3M
      CPU: 233ms
   CGroup: /system.slice/slapd.service
           └─1972 /usr/sbin/slapd -h ldapi:/// ldap://:7389/ ldap://:389/ ldaps://:7636/ ldaps://:63

Apr 09 14:24:03 masterdc systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory
Apr 09 14:24:06 masterdc slapd[1954]: @(#) $OpenLDAP: slapd  (Jan  9 2018 12:16:07) $
                                              Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.
Apr 09 14:24:07 masterdc slapd[1954]: Loaded metadata from "/usr/share/univention-management-console
Apr 09 14:24:09 masterdc slapd[1523]: Starting ldap server(s): slapd ...done.
Apr 09 14:24:10 masterdc ldapsearch[1978]: DIGEST-MD5 common mech free
Apr 09 14:24:11 masterdc slapd[1523]: Checking Schema ID: ...done.
Apr 09 14:24:11 masterdc systemd[1]: Started LSB: OpenLDAP standalone server (Lightweight Directory



root@masterdc:~# univention-ldapsearch -s base dn
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)
ldap_start_tls: Can't contact LDAP server (-1)