No login to server

Hello,
I can’t login to the server using Administrator account.
systemctl status slapd.service reads
slapd.service: Control process exited, code=exites status=1
Failed to start LSB:OpenLDAP standalone server
Unit entered failed state
Failed with result ‘exitcode’
Has anyone an idea what went wrong?
Greetings. Volkhard Flemig

Hi,
Whats about the output of the following commands :

ps aux | grep slapd
/etc/init.d/slapd restart
ps aux | grep slapd

If the service doesn’t start please send more info. The syslogfile will help

Hi,
Service started, after having followed your advice. Thanks a lot.
Volkhard

I ended up with the same problem, but i think my cause is related to me running out of space.

I’ve done the following How-To: Extend Disk Space which solved my problem of having no space but after that slapd, can’t contact LDAP server.

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: failed (Result: exit-code) since Thu 2021-01-07 22:12:55 CET; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 14810 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)
      CPU: 207ms

jan 07 22:12:54 exchange systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
jan 07 22:12:55 exchange slapd[14840]: @(#) $OpenLDAP: slapd  (Nov 26 2019 12:59:58) $
                                               Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
jan 07 22:12:55 exchange slapd[14810]: Starting ldap server(s): slapd ...failed.
jan 07 22:12:55 exchange slapschema[14843]: Loaded metadata from "/usr/share/univention-management-console/saml/idp/ucs-sso.vanlaereict.nl.xml
jan 07 22:12:55 exchange slapschema[14843]: DIGEST-MD5 common mech free
jan 07 22:12:55 exchange slapd[14810]: .
jan 07 22:12:55 exchange systemd[1]: slapd.service: Control process exited, code=exited status=1
jan 07 22:12:55 exchange systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
jan 07 22:12:55 exchange systemd[1]: slapd.service: Unit entered failed state.
jan 07 22:12:55 exchange systemd[1]: slapd.service: Failed with result 'exit-code'.

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)

I’m kinda in panic as i need to work tomorrow, but hope someone comes with a golden idea.

Thanks in advance.

Mastodon