11.1.0.1 Grid Control Installation Failed At OMS Configuration Assistant Step due to incorrect JDK (Doc ID 1340889.1)

Last updated on OCTOBER 20, 2015

Applies to:

Enterprise Manager Base Platform - Version 11.1.0.1 to 11.1.0.1 [Release 11.1]
Information in this document applies to any platform.

Symptoms

11.1.0.1 Grid Control Installation Failed at OMS Configuration Assistant Step OMSCA-ERR:Infrastructure setup of EM failed.

+ CfmLogger<Timestamp>.log

Doing pre requisite checks ......
INFO: oracle.sysman.top.oms:Pre requisite checks completed successfully
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:Doing infrastructure setup ......
INFO: oracle.sysman.top.oms:OMSCA-ERR:Infrastructure setup of EM failed. Check the trace file:/oh1/oracle/product/Middleware/oms11g/cfgtoollogs/omsca/omsca_20110722125930.log
INFO: oracle.sysman.top.oms:
Check the OMS Configuration Assistant logs at: /oh1/oracle/product/Middleware/oms11g/cfgtoollogs/omsca

INFO: oracle.sysman.top.oms:The plug-in OMS Configuration has failed its perform method
INFO: Cfm.save() was called
INFO: Cfm.save(): 8 aggregate instances saved
INFO: done waiting for Action from 12:59:28.010


+ omsca<time stamp>.log

The JDK wasn't found in directory /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64.
Please edit the startWebLogic.sh script so that the JAVA_HOME
variable points to the location of your JDK.

Jul 22, 2011 12:59:31 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
INFO: error messages of the command :
/oh1/oracle/product/Middleware/wlserver_10.3/common/bin/wlst.sh: line 23: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java: No such file or directory

Jul 22, 2011 12:59:31 PM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterCreateInfra
FINE: Done Executing the command...127
Jul 22, 2011 12:59:31 PM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterCleanup
SEVERE: OMSWLSAdapter::Unable to backup the instance home log files
java.io.FileNotFoundException: /oh1/oracle/product/gc_inst/em/null (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil.copy(CoreOMSConfigAssistantUtil.java:493)
at oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil.copyDir(CoreOMSConfigAssistantUtil.java:2588)
at oracle.sysman.omsca.adapter.wls.OMSWLSAdapter.adapterCleanup(OMSWLSAdapter.java:2643)
at oracle.sysman.omsca.framework.OMSCAFreshInstall.execute(OMSCAFreshInstall.java:126)
at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:210)
Jul 22, 2011 12:59:31 PM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
FINE: Deleting the OMS forcefully:true
Jul 22, 2011 12:59:31 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand

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