Le 08/10/2013 18:30, Quanah Gibson-Mount a écrit : Hello,
Examine your init script and see where it is trying to load its configuration from.
Well I look at the startup script and it looks good. But, I try to run init on debug mode (sh -x ./slapd start).
It fails too but I can see the command line use to start:
start-stop-daemon --start --quiet --oknodo --pidfile /var/run/openldap/slapd.pid --exec /usr/sbin/slapd -- -h ldap:/// ldapi:/// -g openldap -u openldap -f /etc/ldap/slapd.conf
All folder exists, openldap user and groups too and the config file path is correct.
I found that: + /usr/bin/tput hpa 0 + [ 1 -eq 0 ] + [ 1 -eq 255 ] + /bin/echo -ne [FAIL [FAIL+ /usr/bin/tput rc
tput is define (TPUT=/lib/lsb/init-functions) in sourced functions library.
Sounds not a OpenLDAP issue/problem.
Thanks for your help. Jacques