My Oracle Support Banner

OUD 11g - The rebuild-index Command Fails if the Attribute Index Has Not Been Defined Yet (Doc ID 1997521.1)

Last updated on MAY 09, 2019

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 11444 -D "cn=directory manager" -j <PASSWORD_FILE> -X --baseDN "dc=example,dc=com" --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=userRoot,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=dc=example,dc=com, scope=base, filter=(objectclass=*)) : The backend userRoot can not serve the request because it is disabled base dn : dc=example,dc=com"
[08/Apr/2015:15:25:03 -0600] severity="SEVERE_ERROR" msgCount=4 msgID=14942281 message="An unexpected error Unavailable The backend userRoot can not serve the request because it is disabled occurred when searching for generation id for domain : dc=example,dc=com"
[08/Apr/2015:15:25:03 -0600] severity="SEVERE_ERROR" msgCount=5 msgID=14942283 message="An unexpected error occurred when searching in dc=example,dc=com 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 userRoot backend in the above example is disabled as a result of rebuild-index failing to complete.  In order to restore access to the userRoot backend, the Directory Server instance must be restarted.

Changes

 

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
Changes
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.