GC 11g install fails at OMS config stage-Wrong WLS version used_1135493.1

rongshiyuan發表於2014-08-03

Grid Control 11g install fails at OMS configuration stage - Wrong Weblogic Server version used. (文件 ID 1135493.1)


In this Document

Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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.
***Checked for relevance on 12-Mar-2013*** 

SYMPTOMS

During the installation of Grid Control 11.1.0.1.0 the OMS configuration assistant fails

Reviewing the omsca_.log

The following error is shown - 

Jun 25, 2010 2:47:47 PM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
INFO: error messages of the command :
weblogic.nodemanager.NMConnectException: Connection refused. Could not connect to NodeManager. Check that it is running at emhost.us.oracle.com:7401.
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at weblogic.nodemanager.client.SSLClient.createSocket(SSLClient.java:38)
at weblogic.nodemanager.client.NMServerClient.connect(NMServerClient.java:227)
at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerClient.java:199)
at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerClient.java:205)
at weblogic.nodemanager.client.NMServerClient.getVersion(NMServerClient.java:52)
at weblogic.management.scripting.NodeManagerService.verifyConnection(NodeManagerService.java:179)
at weblogic.management.scripting.NodeManagerService.nmConnect(NodeManagerService.java:172)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx2.nmConnect$3(:118)
at org.python.pycode._pyx2.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.pycode._pyx41.startNM$1(/u01/home/Oracle/Middleware/oms11g/sysman/omsca/scripts/wls/start_server.py:20)
at org.python.pycode._pyx41.call_function(/u01/home/Oracle/Middleware/oms11g/sysman/omsca/scripts/wls/start_server.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx39.f$0(/u01/home/Oracle/Middleware/oms11g/sysman/omsca/scripts/wls/create_em_infra.py:74)
at org.python.pycode._pyx39.call_function(/u01/home/Oracle/Middleware/oms11g/sysman/omsca/scripts/wls/create_em_infra.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:131)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)

and

SEVERE: OMSCA-ERR:Securing of OMS failed. Check the trace file:u01/home/Oracle/Middleware/oms11g/cfgtoollogs/omsca/omsca_20100625142513.log
Jun 25, 2010 2:48:47 PM oracle.sysman.omsca.framework.OMSCAFreshInstall execute
SEVERE: Securing of OMS failed.
Jun 25, 2010 2:48:47 PM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main
FINE: Got resultfalse

CAUSE

Checking the same omsca_.log file one can see that Weblogic Server 10.3.3 has been used and not Weblogic Server 10.3.2 -


Launching NodeManager ... 
Properties: {ListenAddress=emhost.us.oracle.com,ListenPort=7401,NodeManagerHome=/u01/home/Oracle/Middleware/wlserver_10.3/common/emnodemanager,StartScriptEnabled=true,StartScriptName=startEMServer.sh,}
Command: /usr/jdk/instances/jdk1.6.0_18/jre/bin/java -classpath /usr/jdk/instances/jdk1.6.0_18/jre/lib/rt.jar:/usr/jdk/instances/jdk1.6.0_18/jre/lib/i18n.jar:/u01/home/Oracle/Middleware/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/home/Oracle/Middleware/patch_ocp353/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/jdk/instances/jdk1.6.0_18/lib/tools.jar:/u01/home/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/home/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/home/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.3.0.jar:/u01/home/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/home/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/home/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u01/home/Oracle/Middleware/oms11g/sysman/jlib/emConfig.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf-api.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/jrf-wlst.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.odl_11.1.1/ojdl2.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.dms_11.1.1/dms.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.dconfig-infra_11.1.1.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.fabriccommon_11.1.1/fabric-common.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.xdk_11.1.0/xml.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-pmlib.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-policy-core.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-secpol.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.wsm.common_11.1.1/wsm-dependencies.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.wsm.policies_11.1.1/wsm-seed-policies.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.webservices_11.1.1/orawsdl.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.webservices_11.1.1/mdds.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.webservices_11.1.1/ws_confmbeans.jar:/u01/home/Oracle/Middleware/oracle_common/modules/org.apache.commons.digester_1.7.jar:/u01/home/Oracle/Middleware/oracle_common/../modules/javax.xml.bind_2.1.1.jar:/u01/home/Oracle/Middleware/oracle_common/../modules/javax.activation_1.1.jar:/u01/home/Oracle/Middleware/oracle_common/../modules/javax.xml.stream_1.1.1.0.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.http_client_11.1.1.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.dconfigbeans_11.1.1.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/auditwlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/sslconfigwlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/oamap_help.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/ossoiap_help.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/jps-wlst.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.auditprovider_11.1.1/jps-wls-auditprovider.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-mbeans.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-upgrade.jar:/u01/home/Oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/jps-patching.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/lib/mdswlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/auditwlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/jps-wlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/jrf-wlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/oamap_help.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/ossoiap.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/ossoiap_help.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/sslconfigwlst.jar:/u01/home/Oracle/Middleware/oracle_common/common/wlst/resources/wsm-wlst.jar:/u01/home/Oracle/Middleware/utils/config/10.3/config-launch.jar:/u01/home/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/u01/home/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u01/home/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar weblogic.NodeManager -v
NMProcess:


i.e.
/u01/home/Oracle/Middleware/patch_wls1033/profiles/default/sys_manifest_classpath/weblogic_patch.jar
does not exit in a 10.3.2 Weblogic Installation.
but -
/u01/home/Oracle/Middleware/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar

Also using - 

$cat registry.xml | grep version

This will let you know the version of Weblogic Server being used.
e.g

$ cat /u01/app/oracle/product/Oracle/Middleware/registry.xml | grep version

results in -







SOLUTION

1. Remove Grid Control 11g
e.g.
Start the OUI from the Grid Control OMS $ORACLE_HOME/oui/bin/runInstaller
Press De-Install Products 
Select all product installed for Grid Control 11g
oms11g,
agent11g,
common11g
webteir11g
Once completed make sure the directories for these Grid Control ORACLE_HOMEs do not exist.

2. Remove Weblogic Server 10.3.3
e.g.
Go to the Web Logic Server Home (WLS_ORACLE_HOME/wlserver_10.3/uninstall) and invoke the uninstall.sh 
$ cd /scratch/oracle/middleware/wlserver_10.3/uninstall
$ ./uninstall.sh

3. Install Weblogic Server 10.3.2 (the only supported version of WLS with Grid Control 11g)
    Check the Document 412431.1 - Oracle Enterprise Manager Grid Control Certification Checker
4. Install Grid Control 11g

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1244534/,如需轉載,請註明出處,否則將追究法律責任。

相關文章