From owner-freebsd-questions@FreeBSD.ORG Mon Aug 20 21:16:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE8A16A418 for ; Mon, 20 Aug 2007 21:16:03 +0000 (UTC) (envelope-from jmckeown@eastcoast.co.za) Received: from ctb-mesg4.saix.net (ctb-mesg4.saix.net [196.25.240.74]) by mx1.freebsd.org (Postfix) with ESMTP id 0209613C428 for ; Mon, 20 Aug 2007 21:16:02 +0000 (UTC) (envelope-from jmckeown@eastcoast.co.za) Received: from buffy (dsl-242-106-160.telkomadsl.co.za [41.242.106.160]) by ctb-mesg4.saix.net (Postfix) with ESMTP id B569B2194; Mon, 20 Aug 2007 22:23:06 +0200 (SAST) From: Jonathan and Jeannie To: freebsd-questions@freebsd.org Date: Mon, 20 Aug 2007 22:26:26 +0200 User-Agent: KMail/1.9.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708202226.27051.jmckeown@eastcoast.co.za> Cc: Lisandro Grullon Subject: Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 21:16:03 -0000 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, /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 which ignores the control variable. Jonathan