My Oracle Support Banner

Oid_setup fails to Create Realm in OID NO errors reported (Doc ID 2622138.1)

Last updated on MARCH 02, 2021

Applies to:

Oracle Internet Directory - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

oid_setup fails to create Realm in OID.  No errors reported.

Example:
oid_setup(orcladminPassword='xxxxx',odsPassword='xxxxx',realmDN='dc=<SUB_DOMAIN>, dc=<DOMAIN> ,dc=com')

Location changed to edit custom tree. This is a writable tree with No root.
For more help, use help('editCustom')

Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is completed.
Activation completed
Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is completed.
Activation completed
Location changed to edit tree.
This is a writable tree with DomainMBean as the root.
To make changes you will need to start an edit session via startEdit().
For more help, use help('edit').

Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
[MBeanServerInvocationHandler]com.bea:Name=oidds,Type=JDBCSystemResource
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is completed.
Activation completed
OID setup was successful.

 

The oid1 component gets created and logging into ODSM is successful.

However, No Realm is created. 

ldapsearch of dc=com also proves realm was not created

example:

ldapsearch -h <OID_HOSTNAME> -p <OID_PORT> -D cn=orcladmin -w <PASSWORD> -b "dc=com" -s base "objectclass=*"
ldap_search: No such object

 

NOTES:
1.  Testing creation of realm using oidrealm where the DN for the realm is dc=<SUB_DOMAIN>, dc=<DOMAIN> ,dc=com
fails to run and only returns syntax output.

Example:
oidrealm <OID_HOSTNAME> <PORT> 'dc=<SUB_DOMAIN>, dc=<DOMAIN> ,dc=com'
Usage:
oidrealm <oid_host> <oid_port> <dn> [-SSL]
<oid_host> - OID Host name
<oid_port> - Nonssl / ssl port of OID
<dn> - OID realm to add
[-SSL] - if OID port is ssl (no-auth mode only)

 

2.  Testing creation of realm using wlst with oid_createRealm command completes but Realm is not created

Example:
wls:/<DOMAIN_NAME>/serverConfig/> oid_createRealm(instanceName='oid1',host='<HOSTNAME>',port='<PORT>',orcladminPassword='XXXX',realmDN='dc=<SUB_DOMAIN>, dc=<DOMAIN> ,dc=com'
Location changed to edit custom tree. This is a writable tree with No root.
For more help, use help('editCustom')

Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Saving all your changes ...
Saved all your changes successfully.
Activating all your changes, this may take a while ...
The edit lock associated with this edit session is released once the activation is completed.
Activation completed
OID realm "dc=<SUB_DOMAIN>, dc=<DOMAIN> ,dc=com" was successfully created.

(Checking for realm in ODSM proves realm was not created)

 

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


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