cancel
Showing results for 
Search instead for 
Did you mean: 

I am unable to apply patches via MOPatch

Former Member
0 Kudos

first I Upgraded the database from 10.2.0.2 to 10.2.0.5 with runinstaller

after that I would like to apply the SAP Bundle Patch.

These are the steps which I executed:

1. Update OPatch and MOPatch

2. create patchfolder patches

3. put the Bundle Patch in patches

4. /bin/sh $ORACLE_HOME/MOPatch/mopatch.sh -v -s SAP_112027_201208_LINX8664.zip

  

Now I get the following message :

Cannot determine OPatch version and feature support.

Version:

OPatch : 10.2.0.5.1

MOPatch :  2.1.14

What could be the reason?

Accepted Solutions (1)

Accepted Solutions (1)

ImtiazKaredia
Active Contributor

Hi,

Are you running as ORA<DBSID>?

Note 1027012 provides more details.

Thanks

Imtiaz

Former Member
0 Kudos

Hi,

yes I do that with ORA<DBSID>

regads,

ImtiazKaredia
Active Contributor
0 Kudos

Hi,

What is output of "opatch version" and  "opatch lsinventory" when logged in as ora<DBSID>?

Thanks

Imtiaz

Former Member
0 Kudos

lmtaix016:oratlh 101> opatch lsinventory

========================================================

GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY

========================================================

Invoking OPatch 10.2.0.5.1

Oracle Interim Patch Installer version 10.2.0.5.1

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

Oracle Home       : /oracle/TLH/102_64

Central Inventory : /oracle/TLH/oraInventory

   from           : /etc/oraInst.loc

OPatch version    : 10.2.0.5.1

OUI version       : 10.2.0.5.0

OUI location      : /oracle/TLH/102_64/oui

Log file location : /oracle/TLH/102_64/cfgtoollogs/opatch/opatch2014-06-05_17-32-52PM.log

Patch history file: /oracle/TLH/102_64/cfgtoollogs/opatch/opatch_history.txt

Lsinventory Output file location : /oracle/TLH/102_64/cfgtoollogs/opatch/lsinv/lsinventory2014-06-05_17-32-52PM.txt

--------------------------------------------------------------------------------

Installed Top-level Products (3):

Oracle Database 10g                                                  10.2.0.1.0

Oracle Database 10g Release 2 Patch Set 1                            10.2.0.2.0

Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0

There are 3 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

--------------------------------------------------------------------------------

Exception in thread "main"

OPatch failed with error code 1

ImtiazKaredia
Active Contributor
0 Kudos

Hi,

In output I see an error

Exception in thread "main"

OPatch failed with error code 1

Try installing opatch again. Also check relating to similar error.

Thanks

Imtiaz

Former Member
0 Kudos

Hi,

I installed Opatch and MOpatch again and get now the following message:

lmtaix016:oratlh 12> $ORACLE_HOME/OPatch/opatch lsinventory -jre /usr/java14_64

========================================================

GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY

========================================================

The java class could not be loaded. java.lang.UnsupportedClassVersionError: oracle/opatch/OPatch (Unsupported major.minor version 49.0)

OPatch failed with error code 1

lmtaix016:oratlh 22> /bin/sh $ORACLE_HOME/MOPatch/mopatch.sh -v -s /oracle/TLH/patches/SAP10205P_1308-10010765.ZIP

Cannot determine OPatch version and feature support.

Former Member
0 Kudos

I unziped SAP_112027_201208_LINX8664.ZIP and then apply  the patches

Answers (0)