From owner-freebsd-questions@FreeBSD.ORG Sun Nov 9 18:15:24 2003 Return-Path: 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 185BB16A4CE for ; Sun, 9 Nov 2003 18:15:24 -0800 (PST) Received: from deimos.frii.net (deimos.frii.net [216.17.128.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54ACE43FE9 for ; Sun, 9 Nov 2003 18:15:23 -0800 (PST) (envelope-from aaron@justaaron.com) Received: from justaaron.com (dsc01-ari-co-204-32-202-40.rasserver.net [204.32.202.40]) by deimos.frii.net (8.12.10/8.12.10) with ESMTP id hAA2FEx4007630 for ; Sun, 9 Nov 2003 19:15:15 -0700 (MST) Message-ID: <3FAEF4AD.2050809@justaaron.com> Date: Sun, 09 Nov 2003 19:15:09 -0700 From: Aaron User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031029 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Can't /.../rc.d/slapd.sh start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aaron@justaaron.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 02:15:24 -0000 Hmmm, I just noticed this in the debug output from slapd.sh + /usr/local/libexec/slapd -u ldap -g ldap + _return=1 + [ 1 -ne 0 ] + [ -z ] I tried running slapd as above from the command line and failed. I ran slapd just as straight root, and it worked as expected. Then to shut down slapd I ran this: /usr/local/etc/rc.d/slapd.sh stop and that worked. So, the problem is related to slapd.sh running libexec/slapd with -u ldap -g ldap, together with whatever configuration problems I have. Looking into it. -- Aaron aaron@justaaron.com