Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 08:44:53 -0600
From:      Tim Judd <tajudd@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        carmel@hotmail.com
Subject:   Re: Problem starting slapd
Message-ID:  <ade45ae90906230744j319547f9w15ea10a1de22f704@mail.gmail.com>
In-Reply-To: <BLU0-SMTP1845D3741245DE2ECF457F93360@phx.gbl>
References:  <BLU0-SMTP1845D3741245DE2ECF457F93360@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/23/09, Carmel NY <carmel_ny@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90906230744j319547f9w15ea10a1de22f704>