ODSEE - dsadm reindex crashing with vlv indexes on DS7.0
(Doc ID 1503985.1)
Last updated on NOVEMBER 29, 2022
Applies to:
Oracle Directory Server Enterprise Edition - Version 7.0 to 7.0 [Release 7.0]Information in this document applies to any platform.
Symptoms
Trying to setup VLV by following all described steps from:
How to Configure VLV Indexes on Oracle Directory Server Enterprise Edition (ODSEE) (Doc ID 1396420.1)
and
Browsing Indexes for Client Searches
Crash while executing:
---
# ./dsadm reindex --vlv -l -t vlv-uid-sort /PATH_TO/slapd-TEST dc=SUFFIX_DN
[31/Oct/2012:15:31:49 +0100] - DEBUG - conn=-1 op=-1 msgId=-1 - Backend Instance: example
[31/Oct/2012:15:31:49 +0100] - WARNING<20488> - Backend Database - conn=-1 op=-1 msgId=-1 - Detected Disorderly Shutdown last time Directory Server was running, recovering database.
[31/Oct/2012:15:31:50 +0100] - Database recovery is 0% complete.
[31/Oct/2012:15:31:50 +0100] - Database recovery is 100% complete.
[31/Oct/2012:15:31:50 +0100] - paris: Indexing VLV: vlv-uid-sort
/PATH_TO/dsee7/lib/64/ns-slapd db2index -D /PATH_TO/slapd-TEST -s dc=SUFFIX_DN -T vlv-uid-sort dumps core generation fails indexes : err=-2
---
This crash happens only on version DS 7.0!
From pkgapp.backtrace ( Doc ID 1274584.1) output:
(gdb) ------------BEGIN WHERE--------------
(gdb) #0 0x0000003f9b8797e0 in strlen () from /lib64/libc.so.6
#1 0x00002b2072634199 in slapi_dn_normalize () from /PATH_TO/dsee7/lib64/libslapd.so
#2 0x00002b2072634239 in slapi_dn_normalize_case () from /PATH_TO/dsee7/lib64/libslapd.so
#3 0x00002b2075c5d399 in ldbm_back_ldbm2index () from /PATH_TO/dsee7/lib/64/libback-ldbm.so
#4 0x0000000000413ffe in slapd_exemode_db2index ()
#5 0x0000000000417e91 in main ()
(gdb) ------------END WHERE----------------
(gdb)
Example:
Ldap version DS7.0 on Linux64:
# /PATH_TO/dsee7/lib/64/ns-slapd -V -D /PATH_TO/slapd-TEST/
Sun Microsystems, Inc.
Sun-Directory-Server/7.0_sec B2010.0201.1743 64-bit
ns-slapd : 7.0 B2009.1104.2354 DirectoryServices_branch (Linux cendrillon 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux) ZIP
Slapd Library : 7.0_sec B2010.0201.1743 DirectoryServices70_security_branch (Linux cendrillon 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux)
Front-End Library : 7.0 B2009.1104.2354 DirectoryServices_branch (Linux cendrillon 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux)
/PATH_TO/dsee7/lib/chainingdb-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/libback-ldbm.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/acl-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/passthru-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/cos-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/mo-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/roles-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/statechange-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/acl-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/mrules-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/liblcoll.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/tmr-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/syntax-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/gle-plugin.so: 7.0 (valid signature)
/PATH_TO/dsee7/lib/replication-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/pwdstorage-plugin.so: 7.0 (not signed)
/PATH_TO/dsee7/lib/des-plugin.so: 7.0 (not signed)
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |