If I just run
slapd with no arguments (as root) it starts and works fine. When I try to start it using
/etc/init.d/slapd start however, it dies immediately.
I see from looking at the init script that there's a configuration file at
/etc/sysconfig/ldap, but I haven't been able to find a working combination of settings. Does anybody know what I need to do?
I went back to the default init script and tried running with debugging, but I didn't see anything helpful. Main details were:
daemon --pidfile=/var/run/slapd.pid --check=slapd /usr/sbin/slapd -h '" ldap:///"' -u ldap /bin/bash -c 'ulimit -S -c 0 >/dev/null 2>&1 ; /usr/sbin/slapd -h " ldap:///" -u ldap'`.