My Oracle Support Banner

OUD 11g/12c - The "rebuild-index" Command Fails if the Attribute Index has Not Been Defined Yet (Doc ID 1997521.1)

Last updated on SEPTEMBER 07, 2023

Applies to:

Oracle Unified Directory - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

When issuing the rebuild-index command on a specific attribute, it fails with the following errors -

$ ./rebuild-index -h <HOST> -p <PORT> -D "cn=<DS_ADMIN>" -j <PASSWORD_FILE> -X --baseDN "<SUFFIX_DN>" --index roomNumber
Rebuild Index task 20150408152503376 scheduled to start immediately
[08/Apr/2015:15:25:03 -0600] severity="NOTICE" msgCount=0 msgID=9896349 message="Rebuild Index task 20150408152503376 started execution"
[08/Apr/2015:15:25:03 -0600] severity="NOTICE" msgCount=1 msgID=9896306 message="The backend cn=USER_ROOT,cn=Workflow Elements,cn=config is now taken offline"
[08/Apr/2015:15:25:03 -0600] severity="SEVERE_ERROR" msgCount=2 msgID=10748756 message="An error occurred while attempting to perform index rebuild: / by zero"
[08/Apr/2015:15:25:03 -0600] severity="MILD_ERROR" msgCount=3 msgID=14876687 message="Error Unavailable when searching for server state SearchOperation(connID=-1, opID=85, baseDN=<SUFFIX_DN>, scope=base, filter=(objectclass=*)) : The backend USER_ROOT can not serve the request because it is disabled base dn : <SUFFIX_DN>"
[08/Apr/2015:15:25:03 -0600] severity="SEVERE_ERROR" msgCount=4 msgID=14942281 message="An unexpected error Unavailable The backend USER_ROOT can not serve the request because it is disabled occurred when searching for generation id for domain : <SUFFIX_DN>"
[08/Apr/2015:15:25:03 -0600] severity="SEVERE_ERROR" msgCount=5 msgID=14942283 message="An unexpected error occurred when searching in <SUFFIX_DN> for the generation ID : null"
[08/Apr/2015:15:25:03 -0600] severity="NOTICE" msgCount=6 msgID=9896350 message="Rebuild Index task 20150408152503376 finished execution"
Rebuild Index task 20150408152503376 did not complete successfully
$


Please note that the USER_ROOT backend in the above example is disabled as a result of rebuild-index failing to complete.  In order to restore access to the USER_ROOT backend, the Directory Server instance must be restarted.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.