From owner-freebsd-stable@FreeBSD.ORG Mon Jul 10 11:43:26 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 8145516A4DA for ; Mon, 10 Jul 2006 11:43:26 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D41543D5C for ; Mon, 10 Jul 2006 11:43:23 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp141-127.lns2.adl2.internode.on.net [59.167.141.127]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k6ABhEPw036098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Jul 2006 21:13:16 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org Date: Mon, 10 Jul 2006 21:13:12 +0930 User-Agent: KMail/1.9.3 References: <200607101327.23403.dzalewski@open-craft.com> In-Reply-To: <200607101327.23403.dzalewski@open-craft.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1180699.gkfRUXPWi6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200607102113.14004.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Dominik Zalewski 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: Mon, 10 Jul 2006 11:43:26 -0000 --nextPart1180699.gkfRUXPWi6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 star= t. > 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. I changed the headers to look like so too.. # PROVIDE: slapd # REQUIRE: NETWORKING # BEFORE: securelevel # KEYWORD: FreeBSD shutdown My /etc/nsswitch.conf is.. group: files ldap hosts: files dns networks: files passwd: files ldap shells: files =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1180699.gkfRUXPWi6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEsj1R5ZPcIHs/zowRAkkmAJ9Mr/rkszSwqM1JVf2GYr+k+vPQmwCeNIfZ LpHGOMAilSpCUaqZ5KZ9KMw= =2HzJ -----END PGP SIGNATURE----- --nextPart1180699.gkfRUXPWi6--