From owner-freebsd-questions@FreeBSD.ORG Sun Feb 5 21:02:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9683B16A420 for ; Sun, 5 Feb 2006 21:02:25 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E1CC43D46 for ; Sun, 5 Feb 2006 21:02:24 +0000 (GMT) (envelope-from peo@intersonic.se) Received: from localhost (terrapin.inter-sonic.com [172.16.1.12]) by neonpark.inter-sonic.com (Postfix) with ESMTP id ABE14818E22; Sun, 5 Feb 2006 22:02:22 +0100 (CET) Message-ID: <43E667D7.6060303@intersonic.se> Date: Sun, 05 Feb 2006 22:02:15 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Thunderbird 1.5 (X11/20060120) MIME-Version: 1.0 To: Jan HREHO References: <43E5EEA8.3000507@zoznam.sk> In-Reply-To: <43E5EEA8.3000507@zoznam.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at inter-sonic.com Cc: freebsd-questions@freebsd.org Subject: Re: SLAPD starting very slow 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: Sun, 05 Feb 2006 21:02:25 -0000 Jan HREHO wrote: > Hi everybody. > My configuration. > FreeBSD 6.0 + I update ports. All programs I installed over ports > > I installed LDAP server and client (2.2.30), nss_ldap-1.244, > pam_ldap-1.8.0. its rc that wants slapd - through PAM and NSS. I think there's something fishy about the way all this is implemented but unfortunately I don't know what and why. However, I moved /usr/local/etc/tc.d/slapd.sh to /etc/rc.d/slapd and that fixed it. You might want to look into http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcd.html to get an idea.