The dsadm reindex Command Results in Error - "failed: error 1" (Doc ID 2191260.1)

Last updated on OCTOBER 24, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.1 and later
Information in this document applies to any platform.

Symptoms

Directory Server error:

dsadm reindex -bl -t "Sort xpsSortKey" Instance_Path policysvr4
[26/Jul/2016:22:39:07 -0400] - DEBUG - conn=-1 op=-1 msgId=-1 - ERROR: Could not find backend 'policysvr4'.
Command /appbin/b2cpol/dsee7/lib/64/ns-slapd db2index -D /appbin/b2cpol/dsee7/slapd-pol -n policysvr4 -T Sort xpsSortKey failed: error 1
Failed to generate indexes: error 1

 

Also the command below from Siteminder policy server results in an error:

./smldapsetup ldmod -f/policy12/siteminder/xps/db/OracleDirectoryServerBrowse.ldif -v

add cn:
  xps_housekeep_index
add vlvBase:
  ou=xps,ou=PolicySvr4,ou=siteminder,ou=netegrity,o=xxx.com
add vlvScope:
  1
add vlvFilter:
  (&(objectClass=xpsObject)(|(xpsCategory=2)(xpsCategory=3)))
adding new entry cn=xps_housekeep_index,cn=PolicySvr4,cn=ldbm database,cn=plugins,cn=config
ldap_add: Already exists

add objectClass:
  top
  vlvIndex
add cn:
  Sort modifyTimestamp
add vlvSort:
  modifyTimestamp
adding new entry cn=Sort modifyTimestamp,cn=xps_housekeep_index,cn=PolicySvr4,cn=ldbm database,cn=plugins,cn=config
ldap_add: Already exists

smldapmodify returned 17408
LDAPError: 17408. LDAP error 17408. Unknown Error
Unable to create SiteMinder LDAP schema


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms