From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 19:57:26 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C022A1065679 for ; Mon, 24 Nov 2008 19:57:26 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDEC8FC25 for ; Mon, 24 Nov 2008 19:57:26 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1L4hYH-000159-FT>; Mon, 24 Nov 2008 20:56:57 +0100 Received: from [78.52.49.214] (helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1L4hYi-0000Yt-Lt>; Mon, 24 Nov 2008 20:57:24 +0100 Message-ID: <492B073C.3000907@mail.zedat.fu-berlin.de> Date: Mon, 24 Nov 2008 20:57:48 +0100 From: "O. Hartmann" User-Agent: Thunderbird 2.0.0.17 (X11/20081101) MIME-Version: 1.0 To: Daniel O'Connor References: <4923E685.3060805@zedat.fu-berlin.de> <20081122090035.GB1394@roadrunner.spoerlein.net> <4929DD14.10902@mail.zedat.fu-berlin.de> <200811241345.52007.doconnor@gsoft.com.au> In-Reply-To: <200811241345.52007.doconnor@gsoft.com.au> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 78.52.49.214 X-Mailman-Approved-At: Mon, 24 Nov 2008 20:13:56 +0000 Cc: freebsd-current@freebsd.org, "O. Hartmann" Subject: Re: OpenLDAP 2.4.11/12 and FreeBSD 8.0/AMD64 CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 19:57:26 -0000 Daniel O'Connor wrote: > On Monday 24 November 2008 09:15:40 O. Hartmann wrote: > >> Ulrich Spoerlein wrote: >> >>> On Wed, 19.11.2008 at 10:12:21 +0000, O. Hartmann wrote: >>> >>>> I'm wondering if someone out here has successfully running OpenLDAP >>>> 2.4.11/12 slapd on a most recently compiled FreeBSD 8.0/amd64 system. If >>>> so, please let me know. On our experimental host (FBSD >>>> 8.0/CURRENT/AMD64) slapd dies with signal 11 immediately after starting. >>>> >>> Have you tried running it as root? It likes to die if some permissions >>> are not fullfilled. >>> >> Yes, also this has been done (as I realized the weird crash when, say, >> /var/openldap-data/ has not the right access rights). >> >> I will do a ktrace soon. >> > > I have had issues with openldap do this sort of thing in the past.. > > Make sure the DB is healthy by running db_recover-X.Y -h /var/db/openldap > > Make a backup first of course.. > > I also had an issue where it would run fine if I called it manually but not > from the rc script.. It was _very_ frustrating and I never got to the bottom > of it properly. > > The funny thing is: /var/db/openlda-data/ is empty. I try to avoid having problems when switching from FreeBSD 7.1-PRE to 8.0-CUR on this specific box, I also switched from DB46 to DB47 (and back, as DB47 needs a patch that is not officially out and held back until 7.1-REL gets out of the box). Even an 'out of the box' minimalistic after-clean-install try for starting slapd results in a crash immediately after I tried ... I will check with KTRACE and hope it will show where it gets stuck. Oliver