Re: OpenLDAP 2.4.11/12 and FreeBSD 8.0/AMD64 CURRENT

From: O. Hartmann <ohartman_at_mail.zedat.fu-berlin.de>
Date: Mon, 24 Nov 2008 20:57:48 +0100
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
Received on Mon Nov 24 2008 - 18:57:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC