Problem starting slapd

Tim Judd tajudd at gmail.com
Tue Jun 23 14:44:54 UTC 2009


On 6/23/09, Carmel NY <carmel_ny at hotmail.com> wrote:
> FreeBSD-7.2
> openldap-server-2.4.16_1
>
> I just installed this port. For some reason it will not start
> correctly. I have all of the information entered in the /etc/rc.conf
> file and the slapd.conf and ldap.conf files are configured correctly.
>
> There is no 'PID' file created. Below is what I receive when I attempt
> to start or stop the program.
>
> /usr/local/etc/rc.d # ./slapd start
> Starting slapd.
> /usr/local/etc/rc.d # ./slapd stop
> slapd not running? (check /var/run/openldap/slapd.pid).
> /usr/local/etc/rc.d # ls /var/run/openldap
> ldapi=
> /usr/local/etc/rc.d #
>
> There is a 'socket' created, but that is it. I a pulling my hair out,
> what is left of it, trying to figure out what the problem is. Any
> suggestions?
>
> Thanks!


is there a /usr/local/etc/openldap/slapd.conf?
does it pass muster, config check 'n all?
did you enable logging?

would you pastebin your slapd.conf - masking out any passwords or
sensitive information?


I've run slapd plenty times, I bet it's something with your config
file.  Posting your /usr/ports/net/openldap24-server     make
showconfig    would be appreciative too.


--TJ


More information about the freebsd-questions mailing list