My Oracle Support Banner

OID 12c oid_setup Command Fails with "Creation of wallets failed for domain" When Multiple IDM Products Are Installed Into the Same Oracle Home (Doc ID 2349656.1)

Last updated on AUGUST 30, 2023

Applies to:

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

Symptoms

Oracle Internet Directory (OID) 12c 12.2.1.3.0 version.

Attempting to run oid_setup in WLST fails with the following error:

[AdminServer] [ERROR] [] [oracle.oid.admin] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS_ADMIN_USER>]  [partition-name: DOMAIN] [tenant-name: GLOBAL] Creation of wallets failed for domain "<OID_ORACLE_HOME>/user_projects/domains/<DOMAIN>"

[AdminServer] [ERROR] [] [oracle.oid.admin] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS_ADMIN_USER>] [partition-name: DOMAIN] [tenant-name: GLOBAL] Changing orcladmin password failed. Domain:"<OID_ORACLE_HOME>/user_projects/domains/<DOMAIN>". Error: "".
[AdminServer] [ERROR] [] [oracle.oid.admin] [tid: [ACTIVE].ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS_ADMIN_USER>]  [partition-name: DOMAIN] [tenant-name: GLOBAL] Changing orcladmin password failed. Domain:"<OID_ORACLE_HOME>/user_projects/domains/<DOMAIN>". Error: "".
[AdminServer] [NOTIFICATION] [] [oracle.oid.admin] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <WLS_ADMIN_USER>] [partition-name: DOMAIN] [tenant-name: GLOBAL] createDbWallet domain: <OID_ORACLE_HOME>/user_projects/domains/<DOMAIN>, oidpasswd output: password: [[
confirm password:
Unable to Connect to Database: Incorrect location for tnsnames.ora (derived from DOMAIN_HOME) or Incorrect TNS Connect string or Invalid Password)
]]

 Verified no environment variables are set for OID 12c (no $TNS_ADMIN, $ORACLE_HOME, $DOMAIN_HOME, etc. were set) prior to starting Node Manager and WebLogic (WLS) Admin Server. Reference:

Document 2335285.1 - OID 12c OID_SETUP fails in WLST.SH WLSTException: Error Occurred While Performing Invoke : Creation Of Wallets Failed For Domain "Unable to Connect to Database: Incorrect location for tnsnames.ora"

 

OR

wls:/oid_domain/serverConfig/> oid_setup(orcladminPassword='<PASSWORD>',odsPassword='<PASSWORD>',realmDN='dc=<COMPANY>,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.
Traceback (innermost last):
File "<console>", line 1, in ?
File "/u01/Oracle_Home/oid/plugins/wlst/oid-wlst-dependencies.jar!/wlstScriptDir/OidCustomCommands.py", line 14, in oid_setup
File "/u01/Oracle_Home/oid/plugins/wlst/oid-wlst-dependencies.jar/wlstScriptDir/oid_handler.py", line 274, in oid_doSetup
File "/u01/Oracle_Home/wlserver/modules/com.oracle.weblogic.management.scripting.jar/weblogic/management/scripting/utils/modules/wlstModule.py", line 38, in invoke
File "/tmp/wlst_module1754318653824444087.py", line 753, in wlstInvoke
File "/tmp/wlst_module36620269217414099143.py", line 240, in raiseWLSTException
WLSTException: Error occurred while performing invoke : Creation of wallets failed for domain "/u01/Oracle_Home/user_projects/domains/oid_domain"
Use dumpStack() to view the full stacktrace :

 dumpStack() returns

wls:/oid_domain/editCustom/oracle.oid.mbeans/oracle.oid.mbeans:type=OIDSystemComponent,name=OIDComponentManager> dumpStack()
This Exception occurred at Tue Jan 30 16:06:40 EST 2018.
javax.management.MBeanException: Creation of wallets failed for domain "/u01/Oracle_Home/user_projects/domains/oid_domain"
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:932)
at oracle.as.jmx.framework.wls.spi.EditSessionInterceptor.internalInvoke(EditSessionInterceptor.java:104)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.adf.mbean.share.AdfMBeanInterceptor.internalInvoke(AdfMBeanInterceptor.java:104)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)
at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:192)
at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:252)

<trimmed stack>

at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
Caused by: java.lang.Exception: Creation of wallets failed for domain "/u01/Oracle_Home/user_projects/domains/oid_domain"
at oracle.oid.mbeans.OIDComponentManager.createDBConnectionInfo(OIDComponentManager.java:1254)
at oracle.oid.mbeans.OIDComponentManager.doSetupPhase1(OIDComponentManager.java:571)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:918)
... 84 more
javax.management.MBeanException: Creation of wallets failed for domain "/u01/Oracle_Home/user_projects/domains/oid_domain"

 

$ORACLE_HOME/bin Binaries fail to execute and produce a library error such as

./oidldapd -v
./oidldapd: error while loading shared libraries: libnnz12.so: cannot open shared object file: No such file or directory

 

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.