Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Opatch hanging

1035231Feb 27 2015 — edited Mar 2 2015

Hello!

I have the same problem as in the old post Problem with opatch

When I run opatch it's hanging and no matter whtat argument it have (help, lsinventory or DarkVader).

For ex:

/u01/app/11.2.0/grid/OPatch/opatch lsinventory

OPatch was not able to set FMW_COMPONENT_HOME by itself.

Machine Info: Linux db2p1 3.8.13-16.2.1.el6uek.x86_64 #1 SMP Thu Nov 7 17:01:44 PST 2013 x86_64 x86_64 x86_64 GNU/Linux

_osArch is amd64

_javaVMSpecVersion is 1.0

_javaVMSpecVendor is Sun Microsystems Inc.

_javaVMSpecName is Java Virtual Machine Specification

_javaVMVendor is Sun Microsystems Inc.

_javaJRESpecVersion is 1.5

_javaJRESpecVendor is Sun Microsystems Inc.

_javaJRESpecName is Java Platform API Specification

_javaSupportedClassVersion is 49.0

OPatch compiled with major version: 49, minor version: 0

_osArch (from OCM API) is

/u01/app/11.2.0/grid/jdk/bin/java -mx150m -cp /u01/app/11.2.0/grid/OPatch/ocm/lib/emocmclnt.jar:/u01/app/11.2.0/grid/oui/jlib/OraInstaller.jar:/u01/app/11.2.0/grid/oui/jlib/OraPrereq.jar:/u01/app/11.2.0/gr /11.2.0/grid/oui/jlib/orai18n-mapping.jar:/u01/app/11.2.0/grid/oui/jlib/xmlparserv2.jar:/u01/app/11.2.0/grid/oui/jlib/emCfg.jar:/u01/app/11.2.0/grid/oui/jlib/ojmisc.jar:/u01/app/11.2.0/grid/OPatch/jlib/opatc tch/jlib/opatchsdk.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/automation.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar:/u01/app/11.2.0/grid/OPatch/jlib/oracle.opatch.classpath ch/oplan/jlib/jaxb/activation.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/jaxb/jaxb-api.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/jaxb/jaxb-impl.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/jaxb/jsr173_1.0_api ch/oplan/jlib/OsysModel.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/osysmodel-utils.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/CRSProductDriver.jar:/u01/app/11.2.0/grid/OPatch/oplan/jlib/oracle.oplan.classpat 1/app/11.2.0/grid -DOPatch.DEBUG=true -DOPatch.RUNNING_DIR=/u01/app/11.2.0/grid/OPatch -DOPatch.MW_HOME= -DOPatch.WL_HOME= -DOPatch.COMMON_COMPONENTS_HOME= -DOPatch.OUI_LOCATION= -DOPatch.FMW_COMPONENT_HOME= OPatch.WEBLOGIC_CLASSPATH=    oracle/opatch/OPatch lsinventory  -invPtrLoc /u01/app/11.2.0/grid/oraInst.loc

CLASSPATH=

Oracle Interim Patch Installer version 11.2.0.3.4

Copyright (c) 2012, Oracle Corporation.  All rights reserved.

..

hangs

Otherwise when I run Opatch from oracle user is works well.

I try to catch java command witch is stacking and I have this:

u01/app/11.2.0/grid//jdk/bin/java -mx150m -cp /u01/app/11.2.0/grid/OPatch/jlib/oracle.opatch.classpath.jar -DOPatch.ORACLE_HOME=/u01/app/11.2.0/grid/ oracle/opatch/OPatch

Oracle Interim Patch Installer version 11.2.0.3.4

Copyright (c) 2012, Oracle Corporation.  All rights reserved.

...

hangs too

Anybody have an idea?

Andrey

This post has been answered by unknown-951199 on Feb 27 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2015
Added on Feb 27 2015
12 comments
2,125 views