I've had replication working for the last few months and now running into the following when I run: slapd -h "ldapi:/// ldap:///ldaps:///" -d 4
I installed GIT on the server, version 1.7.1 which is a couple years old, but was wondering would that have anything causing replication to stop working?
... <= ldap_bv2dn(cn=Database 3,cn=Databases,cn=Monitor)=0 => ldap_dn2bv(272) <= ldap_dn2bv(cn=database 3,cn=databases,cn=monitor)=0 559edda4 hdb_db_open: "dc=pi-coral,dc=com" 559edda4 hdb_db_open: database "dc=pi-coral,dc=com": unclean shutdown detected; attempting recovery. 559edda4 => bdb_entry_get: ndn: "dc=pi-coral,dc=com" 559edda4 => bdb_entry_get: oc: "(null)", at: "contextCSN" 559edda4 bdb_idl_fetch_key: 559edda4 bdb_idl_fetch_key: 559edda4 send_ldap_result: err=0 matched="" text="" 559edda4 [rw] searchDN: "ou=Users,ou=example,dc=ad,dc=example,dc=com" -> "ou=Users,ou=example,dc=ad,dc=example,dc=com" *** glibc detected *** slapd: double free or corruption (out): 0x00007f3382f44bb0 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75e66)[0x7f339ab17e66] /lib64/libc.so.6(+0x789b3)[0x7f339ab1a9b3] slapd(filter_free_x+0x13a)[0x7f339ebd72da] /usr/lib64/openldap/rwm-2.4.so.2(+0xb34d)[0x7f3397d0c34d] /usr/lib64/openldap/rwm-2.4.so.2(rwm_filter_map_rewrite+0x2b)[0x7f3397d0c99b] /usr/lib64/openldap/rwm-2.4.so.2(+0x6c3a)[0x7f3397d07c3a] slapd(overlay_op_walk+0x4a)[0x7f339ec41efa] slapd(+0xbaa3b)[0x7f339ec42a3b] slapd(+0xb87ab)[0x7f339ec407ab] slapd(overlay_op_walk+0x4a)[0x7f339ec41efa] slapd(+0xbaa3b)[0x7f339ec42a3b] /usr/lib64/openldap/syncprov-2.4.so.2(+0x70ae)[0x7f3397afb0ae] /usr/lib64/openldap/syncprov-2.4.so.2(+0x72a0)[0x7f3397afb2a0] /lib64/libpthread.so.0(+0x79d1)[0x7f339b0489d1] /lib64/libc.so.6(clone+0x6d)[0x7f339ab8a8fd] ======= Memory map: ======== 7f337c000000-7f337c021000 rw-p 00000000 00:00 0 7f337c021000-7f3380000000 ---p 00000000 00:00 0 7f3381743000-7f3382745000 rw-p 00000000 00:00 0 7f3382745000-7f3382746000 ---p 00000000 00:00 0 7f3382746000-7f3382f46000 rw-p 00000000 00:00 0 7f3382f46000-7f3382f4e000 rw-s 00000000 ca:01 795307 /var/lib/ldap/__db.006 7f3382f4e000-7f3383006000 rw-s 00000000 ca:01 795306 /var/lib/ldap/__db.005 7f3383006000-7f3383246000 rw-s 00000000 ca:01 794767 /var/lib/ldap/__db.004 7f3383246000-7f3397248000 rw-s 00000000 ca:01 794749 /var/lib/ldap/__db.003 7f3397248000-7f3397af4000 rw-s 00000000 ca:01 794744 /var/lib/ldap/__db.002 7f3397af4000-7f3397b00000 r-xp 00000000 ca:01 538738 /usr/lib64/openldap/syncprov-2.4.so.2.10.2 7f3397b00000-7f3397cff000 ---p 0000c000 ca:01 538738 /usr/lib64/openldap/syncprov-2.4.so.2.10.2 7f3397cff000-7f3397d00000 r--p 0000b000 ca:01 538738 /usr/lib64/openldap/syncprov-2.4.so.2.10.2 ...
7f339f6ac000-7f339f9ee000 rw-p 00000000 00:00 0 [heap] 7fff8ad37000-7fff8ad4c000 rw-p 00000000 00:00 0 [stack] 7fff8ad84000-7fff8ad85000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted
--On Thursday, July 09, 2015 9:53 PM +0000 Sterling Sahaydak sterling.sahaydak@pi-coral.com wrote:
I've had replication working for the last few months and now running into the following when I run: slapd -h "ldapi:/// ldap:/// ldaps:///" -d 4
I installed GIT on the server, version 1.7.1 which is a couple years old, but was wondering would that have anything causing replication to stop working?
The openldap version is what is important, not the version of git. However, it looks like you have a corrupt database:
559edda4 hdb_db_open: database "dc=pi-coral,dc=com": unclean shutdown detected; attempting recovery.
back-hdb is deprecated in current OpenLDAP, and back-mdb is the supported backend. I also note you appear to be using slapo-rwm, which is known to have a variety of issues.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org