Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2007 16:31:41 -0400
From:      Lisandro Grullon <lisandrogrullon07@hotmail.com>
To:        Jonathan and Jeannie <jmckeown@eastcoast.co.za>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.
Message-ID:  <BAY116-W69511D4E9F321BC2DE751A9DB0@phx.gbl>

next in thread | raw e-mail | index | archive | help



> From: jmckeown@eastcoast.co.za> To: freebsd-questions@freebsd.org> Subjec=
t: Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.> Date: Mon, 2=
0 Aug 2007 22:26:26 +0200> CC: lisandrogrullon07@hotmail.com> > On Monday 2=
0 August 2007 17:21, Lisandro Grullon wrote:> > Hi All,> > I am a newcomer =
to the FreeBSD world. I am trying to implement a openLDAP> > installation. =
It all went ok with the SASL and SERVER install in> > conjunction with BDB,=
 yet when I try starting the service using> > "/usr/local/libexec/slapd" or=
 "/usr/local/etc/rc.d/slapd start", the> > service does not start.> > This =
may be a very silly question, but have you enabled slapd in /etc/rc.conf?> =
> The startup scripts in /etc/rc.d and /usr/local/etc/rc.d won't run unless=
 the > associated control variable is set to "YES" in /etc/rc.conf. To find=
 the > right variable and its current setting,
=20
This is what I have added in my current rc.conf. I think it goes according =
to the guidelines of the Manual at openLDAP.
=20
# The following line will enable slapd and all its dependeciesslapd_enable=
=3D"YES"slapd_flags=3D'-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://=
0.0.0.0/"'slapd_sockets=3D"/var/run/openldap/ldapi"
I am not 100% sure where my mistake is hence the log is not showing me anyt=
hing, this is the first time for me playing with openLDAP.
I am starting to worder if it has something to do with the LDIF file or con=
figuration of the database. Throw me a bone if you have one.
> > /usr/local/etc/rc.d/slapd rcvar> > which in this case tells us the cont=
rol variable is $slapd_enable, > so /etc/rc.conf needs to contain> > slapd_=
enable=3D"YES"> > As a bonus, if this isn't set but you want to do a one-of=
f start or stop (for > example during testing), you can use onestart and on=
estop:> > /usr/local/etc/rc.d/slapd onestart>=20
=20
I tried following these guidelines and still getting that silly error by sy=
slog which doesn't give a clue of where the mistake is located.=20
This is the output of debug.log
=20
Aug 20 16:24:21 sce2 slapd[72618]: @(#) $OpenLDAP: slapd 2.4.3alpha (Oct 18=
 2006 03:27:53) $    root@freebsd.org:/work/a/ports/net/openldap24-server/w=
ork/openldap-2.4.3alpha/servers/slapdAug 20 16:24:21 sce2 slapd[72618]: con=
nections_destroy: nothing to destroy.Aug 20 16:24:21 sce2 slapd[72618]: sla=
pd stopped.
I am even more confuse by this whole thing. Thanks in advance for any help =
you can provide me with.
> which ignores the control variable.> > Jonathan
_________________________________________________________________
Find a local pizza place, movie theater, and more=85.then map the best rout=
e!
http://maps.live.com/default.aspx?v=3D2&ss=3Dyp.bars~yp.pizza~yp.movie%20th=
eater&cp=3D42.358996~-71.056691&style=3Dr&lvl=3D13&tilt=3D-90&dir=3D0&alt=
=3D-1000&scene=3D950607&encType=3D1&FORM=3DMGAC01=



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