Date: Mon, 24 Nov 2008 20:57:48 +0100 From: "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> To: Daniel O'Connor <doconnor@gsoft.com.au> Cc: freebsd-current@freebsd.org, "O. Hartmann" <ohartman@zedat.fu-berlin.de> Subject: Re: OpenLDAP 2.4.11/12 and FreeBSD 8.0/AMD64 CURRENT Message-ID: <492B073C.3000907@mail.zedat.fu-berlin.de> In-Reply-To: <200811241345.52007.doconnor@gsoft.com.au> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?492B073C.3000907>