1

Topic: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (1.6.8 OPENLDAP edition.):
- Deployed with the downloadable installer?
- Linux/BSD :  Description:    Debian GNU/Linux 11 (bullseye)
- Store mail accounts in which backend (LDAP):
- Web server (Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
root@mail:~# systemctl status slapd.service
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)
     Loaded: loaded (/etc/init.d/slapd; generated)
    Drop-In: /usr/lib/systemd/system/slapd.service.d
             └─slapd-remain-after-exit.conf
     Active: failed (Result: exit-code) since Mon 2024-06-03 10:47:07 -04; 11min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2618 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAILURE)
        CPU: 18ms

jun 03 10:47:07 mail systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)...
jun 03 10:47:07 mail slapd[2622]: @(#) $OpenLDAP: slapd 2.4.57+dfsg-3+deb11u1 (May 14 2022 18:32:57) $
                                          Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
jun 03 10:47:07 mail slapd[2622]: DIGEST-MD5 common mech free
jun 03 10:47:07 mail slapd[2622]: DIGEST-MD5 common mech free
jun 03 10:47:07 mail slapd[2618]: Starting OpenLDAP: slapd
jun 03 10:47:07 mail slapd[2623]:  failed!
jun 03 10:47:07 mail systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
jun 03 10:47:07 mail systemd[1]: slapd.service: Failed with result 'exit-code'.
jun 03 10:47:07 mail systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by Cthulhu 2024-06-04 04:10:11)

Re: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory

And why did it fail?

journalctl -u slapd

3

Re: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory

Try to start it manually with debug mode enabled, copy full console output here for troubleshooting:

slapd -u ldap -g ldap -d -1 -f /etc/ldap/slapd.conf