> From: [EMAIL PROTECTED]> To: freebsd-questions@freebsd.org> Subject: Re: 
> Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.> Date: Mon, 20 Aug 
> 2007 22:26:26 +0200> CC: [EMAIL PROTECTED]> > On Monday 20 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,
 
This is what I have added in my current rc.conf. I think it goes according to 
the guidelines of the Manual at openLDAP.
 
# The following line will enable slapd and all its 
dependeciesslapd_enable="YES"slapd_flags='-h 
"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
ldap://0.0.0.0/";'slapd_sockets="/var/run/openldap/ldapi"
I am not 100% sure where my mistake is hence the log is not showing me 
anything, 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 
configuration 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 control 
> > variable is $slapd_enable, > so /etc/rc.conf needs to contain> > 
> > slapd_enable="YES"> > As a bonus, if this isn't set but you want to do a 
> > one-off start or stop (for > example during testing), you can use onestart 
> > and onestop:> > /usr/local/etc/rc.d/slapd onestart> 
 
I tried following these guidelines and still getting that silly error by syslog 
which doesn't give a clue of where the mistake is located. 
This is the output of debug.log
 
Aug 20 16:24:21 sce2 slapd[72618]: @(#) $OpenLDAP: slapd 2.4.3alpha (Oct 18 
2006 03:27:53) $    [EMAIL 
PROTECTED]:/work/a/ports/net/openldap24-server/work/openldap-2.4.3alpha/servers/slapdAug
 20 16:24:21 sce2 slapd[72618]: connections_destroy: nothing to destroy.Aug 20 
16:24:21 sce2 slapd[72618]: slapd 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ā€¦.then map the best route!
http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to