OUD11g Instance Cannot Be Started With 'No attribute type matching this name or OID exists in the server schema' Error

(Doc ID 2351295.1)

Last updated on FEBRUARY 21, 2018

Applies to:

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

Symptoms

Customer updated and replaced OUD default schema definition file(00-core.ldif).

Then starting OUD instance failed with below error:
-----cut----------
[11/Jan/2018:18:48:43 +0800] category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerShutdown, alert ID 458893): The Directory Server has started the shutdown process. The shutdown was initiated by an instance of class org.opends.server.core.DirectoryServer and the reason provided for the shutdown was An error occurred while trying to start the Directory Server: An objectclass read from schema configuration file 00-core.ldif could not be parsed: The definition for the objectclass with OID 0.9.2342.19200300.100.4.4 declared that it should include optional attribute "userid". No attribute type matching this name or OID exists in the server schema The definition for the objectclass with OID 0.9.2342.19200300.100.4.4 declared that it should include optional attribute "userid". No attribute type matching this name or OID exists in the server schema
[11/Jan/2018:18:48:43 +0800] category=CORE severity=NOTICE msgID=458955 msg=The Directory Server is now stopped
-----cut-------

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