From owner-freebsd-stable@FreeBSD.ORG Tue Jul 11 06:19:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D1A016A4DA for ; Tue, 11 Jul 2006 06:19:42 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 71CC843D45 for ; Tue, 11 Jul 2006 06:19:41 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 10475 invoked by uid 399); 11 Jul 2006 06:19:40 -0000 Received: from localhost (HELO ?192.168.0.7?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 11 Jul 2006 06:19:40 -0000 Message-ID: <44B34301.9040806@FreeBSD.org> Date: Mon, 10 Jul 2006 23:19:45 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Daniel O'Connor References: <200607101327.23403.dzalewski@open-craft.com> <200607102113.14004.doconnor@gsoft.com.au> In-Reply-To: <200607102113.14004.doconnor@gsoft.com.au> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Dominik Zalewski , freebsd-stable@freebsd.org Subject: Re: slapd - slow starting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 06:19:42 -0000 Daniel O'Connor wrote: > On Monday 10 July 2006 19:57, Dominik Zalewski wrote: >> I'm using FreeBSD 6.1-STABLE on i386. I have installed openldap-server , >> pam_ldap , nss_ldap. During booting and when I >> do /usr/local/etc/rc.d/slapd.sh start , its taking very long time to start. >> Here is what I'm getting in logfile: > > You might want to move the file to /etc/rc.d so it can get started earlier. This is bad advice for 2 reasons. First, the OP stated that he's using 6.1-Stable, which already has the local_startup changes merged, so all proper rc.d scripts will be run in the same rcorder, whether they are in the base (/etc/rc.d) or installed in either /usr/local or /usr/X11R6/etc/rc.d. Second, this is bad blanket advice to offer without knowing more about the situation, as even if it "works," at best it will camouflage the real problem. In this case, it would not have solved the actual problem anyways. hth, Doug -- This .signature sanitized for your protection