[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4324) PANIC: fatal region error detected;



lalot@univ-aix.fr wrote:
> Full_Name: LALOT Dominique
> Version: 2.3.17
> OS: Linux 2.6
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (193.50.125.9)
>
>
> To keep DB_CONFIG out of order, I just remove it in slapd init script.
>   

Don't do that.

> init script:
>         cd /var/ldap/base
>         /usr/bin/db4.3_recover
>         /var/ldap/bin/purgedbarchive.pl .
>         /bin/rm DB_CONFIG # reconstruction via les params de slapd.conf
>         chown ldap.ldap *
>         if grep -q ^TLS /etc/openldap/slapd.conf ; then
>             nice -n -5 ${slapd} -u ldap -g ldap -h 'ldap:/// ldaps:///'
> slapd runs OK. 
> Then slapcat >test
> bdb_db_open: DB_CONFIG for suffix dc=univmed,dc=fr has changed.
> Performing database recovery to activate new settings.
>
> and then:
> search: 2
> result: 80 Internal (implementation specific) error
> text: internal error
>
> bdb is 4.3.15
> seems the rm of DB_CONFIG is doing bad things. If I avoid it, it's OK I can do a
> slapcat without distburbing slapd
> As it's written in the docs that those flags would create a DB_CONFIG (it works
> indeed), what happened after in slapcat should not happen?.
> (by the way DB_LOG_AUTOREMOVE is not working also (bdb problem?))
>   

Probably a BDB problem, yes. 4.3.15 was a pre-release version, 
definitely not suitable for real use.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/