Hello,
I have a few ubuntu 14.04 servers running slapd 2.4.31 installed from ubuntu packages.
Now I want to upgrade these servers to last openldap version, so I I have downloaded 2.4.43 and compiled from myself. Since then, whenever I tri to make a change in the config, slapd crashes with:
Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=0 RESULT tag=97 err=0 text= Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=1 MOD dn="olcDatabase={3}hdb,cn=config" Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=1 MOD attr=olcDbcheckpoint olcDbindex olcDbNosync olcDbcachesize olcDbidlcachesize olcDbConfig olcDbNosync olcDbshmkey olcDbcachesize olcDbcheckpoint olcDbidlcachesize olcDbConfig olcDbindex Dec 11 08:34:56 canis30 slapd[9640]: bdb(dc=Telematica): BDB4511 Error: closing the transaction region with active transactions Dec 11 08:34:56 canis30 slapd[9640]: bdb_db_close: database "dc=Telematica": close failed: Invalid argument (22) Dec 11 08:34:56 canis30 slapd[9640]: hdb_cf_cleanup: failed to reopen database, rc=22 Dec 11 08:34:56 canis30 slapd[9640]: daemon: abnormal condition, shutdown initiated. Dec 11 08:34:56 canis30 slapd[9640]: slapd shutdown: waiting for 1 operations/tasks to finish Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=1 RESULT tag=103 err=80 text=failed to reopen database, rc=22 Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 fd=13 closed (slapd shutdown) Dec 11 08:34:56 canis30 kernel: [ 876.777046] slapd[9640]: segfault at e0 ip 00007f7efcd86ac2 sp 00007ffd843c2fe0 error 4 in libdb-5.3.so[7f7efcc39000+19b000]
I have tried with my own openldap compilation and with the package installed from rtandy ppa, with the same results.
Although the upgrade procedure recreate the databases, I have also tried to completely remove the database (dc=telematica), but it fails too.
I have tried with different ldifs, and the problem seems to happen whenever a try to make a modification for the olcDbConfig attributes.
--On Friday, December 11, 2015 9:03 AM +0100 "Angel L. Mateo" amateo@um.es wrote:
Hello,
I have a few ubuntu 14.04 servers running slapd 2.4.31 installed from ubuntu packages.
Now I want to upgrade these servers to last openldap version, so I I have downloaded 2.4.43 and compiled from myself. Since then, whenever I tri to make a change in the config, slapd crashes with:
Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=0 RESULT tag=97 err=0 text= Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=1 MOD dn="olcDatabase={3}hdb,cn=config" Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=1 MOD attr=olcDbcheckpoint olcDbindex olcDbNosync olcDbcachesize olcDbidlcachesize olcDbConfig olcDbNosync olcDbshmkey olcDbcachesize olcDbcheckpoint olcDbidlcachesize olcDbConfig olcDbindex Dec 11 08:34:56 canis30 slapd[9640]: bdb(dc=Telematica): BDB4511 Error: closing the transaction region with active transactions Dec 11 08:34:56 canis30 slapd[9640]: bdb_db_close: database "dc=Telematica": close failed: Invalid argument (22) Dec 11 08:34:56 canis30 slapd[9640]: hdb_cf_cleanup: failed to reopen database, rc=22 Dec 11 08:34:56 canis30 slapd[9640]: daemon: abnormal condition, shutdown initiated. Dec 11 08:34:56 canis30 slapd[9640]: slapd shutdown: waiting for 1 operations/tasks to finish Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 op=1 RESULT tag=103 err=80 text=failed to reopen database, rc=22 Dec 11 08:34:56 canis30 slapd[9640]: conn=1000 fd=13 closed (slapd shutdown) Dec 11 08:34:56 canis30 kernel: [ 876.777046] slapd[9640]: segfault at e0 ip 00007f7efcd86ac2 sp 00007ffd843c2fe0 error 4 in libdb-5.3.so[7f7efcc39000+19b000]
I have tried with my own openldap compilation and with the package installed from rtandy ppa, with the same results.
Although the upgrade procedure recreate the databases, I have also tried to completely remove the database (dc=telematica), but it fails too.
I have tried with different ldifs, and the problem seems to happen whenever a try to make a modification for the olcDbConfig attributes.
Do you have the same issue using the supported back-mdb backend instead of the deprecated and generally should be avoided back-hdb backend?
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
El 11/12/15 a las 23:52, Quanah Gibson-Mount escribió:
Do you have the same issue using the supported back-mdb backend instead of the deprecated and generally should be avoided back-hdb backend?
In the test I made, my problem was just with attribute olcDbConfig, that is not allowed for back-mdb.
openldap-technical@openldap.org