cancel
Showing results for 
Search instead for 
Did you mean: 

mopatch - cannot unpack patches error

Former Member
0 Kudos

I have just upgraded the database from 10.2.0.2 to 10.2.0.4. Downloaded current mopatch, opatch, SAP bundle patch. I attempt to run mopatch in documentation mode and get the following. Unpack error is at the end. This is running on AIX 5.3.

MOPatch - Install Multiple Oracle Patches in One Run - 2.1.3.

Copyright (c) Oracle Corporation 2007-2010. All Rights Reserved.

Version: 2.1.3

Revision: 5.1.2.4

Command-line: /oracle/XC1/102_64/MOPatch/mopatch.sh -v -d -s /oracle/XC1/patches.10204

Oracle Home: /oracle/XC1/102_64

RDBMS version: 10.2.0.4.0

OPatch version:10.2.0.4.9

Clean-up: supported

PSUs: supported

Log file: $ORACLE_HOME/cfgtoollogs/mopatch/mopatch-2010_06_29-06-19-24.log

Patch base: .

Patch source: /oracle/XC1/patches.10204

Link script: ./link.sh

Readmes: ./READMES-2010_06_29-06-19-24.txt

Strpd. Readmes:./READMES-STRIPPED-2010_06_29-06-19-24.txt

make utility: /usr/ccs/bin/make

unzip utility: /oracle/XC1/102_64/bin/unzip

User name: oraxc1

Working dir: /oracle/XC1/patches.10204

System: AIX lyu121 3 5 00CDA74F4C00

Disk free: 2396868 KBytes on /oracle/XC1/102_64

Disk required: 177120 KBytes on /oracle/XC1/102_64

Getting pre-run patch inventory...

executing: "/oracle/XC1/102_64/OPatch/opatch" lsinventory -retry 0 -invPtrLoc /oracle/XC1/102_64/oraInst.loc -xml "./mopatch-18964-946258/preinv.xml"

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

GENERIC OPATCH VERSION - FOR USE IN SAP ENVIRONMENT ONLY

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

Invoking OPatch 10.2.0.4.9

Oracle Interim Patch Installer version 10.2.0.4.9

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

Oracle Home : /oracle/XC1/102_64

Central Inventory : /oracle/oraInventory

from : /oracle/XC1/102_64/oraInst.loc

OPatch version : 10.2.0.4.9

OUI version : 10.2.0.4.0

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

Log file location : /oracle/XC1/102_64/cfgtoollogs/opatch/opatch2010-06-29_06-19-26AM.log

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

Lsinventory Output file location : /oracle/XC1/102_64/cfgtoollogs/opatch/lsinv/lsinventory2010-06-29_06-19-26AM.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 3 10.2.0.4.0

There are 3 products installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

-


OPatch succeeded.

Getting pre-run patch inventory...done.

Analyzing installed patches...

Analyzing installed patches...done.

No patches installed in Oracle Home /oracle/XC1/102_64.

Analyzing patches to process...

caution: filename not matched: SAP_102044_201006/9585133/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9585133/etc/config/actions

caution: filename not matched: SAP_102044_201006/9584846/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9584846/etc/config/actions

caution: filename not matched: SAP_102044_201006/9584028/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9584028/etc/config/actions

caution: filename not matched: SAP_102044_201006/9578683/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9578683/etc/config/actions

caution: filename not matched: SAP_102044_201006/9559011/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9559011/etc/config/actions

caution: filename not matched: SAP_102044_201006/9558995/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9558995/etc/config/actions

caution: filename not matched: SAP_102044_201006/9509364/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9509364/etc/config/actions

caution: filename not matched: SAP_102044_201006/9458152/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9458152/etc/config/actions

caution: filename not matched: SAP_102044_201006/9390484/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9390484/etc/config/actions

caution: filename not matched: SAP_102044_201006/9337325/etc/config/inventory

caution: filename not matched: SAP_102044_201006/9337325/etc/config/actions

Analyzing patches to process...done.

Operations to be executed:

apply patch SAP_102044_201006_AIX.zip!9352164 (psu sql java)

apply patch SAP_102044_201006_AIX.zip!9711859

apply patch SAP_102044_201006_AIX.zip!9585133

apply patch SAP_102044_201006_AIX.zip!9584846

apply patch SAP_102044_201006_AIX.zip!9584028 (sql)

apply patch SAP_102044_201006_AIX.zip!9578683

apply patch SAP_102044_201006_AIX.zip!9559011

apply patch SAP_102044_201006_AIX.zip!9558995

apply patch SAP_102044_201006_AIX.zip!9509364 (sql)

apply patch SAP_102044_201006_AIX.zip!9458152

apply patch SAP_102044_201006_AIX.zip!9390484

apply patch SAP_102044_201006_AIX.zip!9362218

apply patch SAP_102044_201006_AIX.zip!9337325

apply patch SAP_102044_201006_AIX.zip!9280746

apply patch SAP_102044_201006_AIX.zip!9254968 (java)

apply patch SAP_102044_201006_AIX.zip!8546356

apply patch SAP_102044_201006_AIX.zip!8544696

apply patch SAP_102044_201006_AIX.zip!7331323

apply patch SAP_102044_201006_AIX.zip!6944036

apply patch SAP_102044_201006_AIX.zip!6862987 (sql)

apply patch SAP_102044_201006_AIX.zip!6826661

apply patch SAP_102044_201006_AIX.zip!6817844

apply patch SAP_102044_201006_AIX.zip!6768114

apply patch SAP_102044_201006_AIX.zip!6705635 (sql)

apply patch SAP_102044_201006_AIX.zip!6694370

apply patch SAP_102044_201006_AIX.zip!6471079

apply patch SAP_102044_201006_AIX.zip!6331062

apply patch SAP_102044_201006_AIX.zip!6315003

apply patch SAP_102044_201006_AIX.zip!6313035

apply patch SAP_102044_201006_AIX.zip!6082832

apply patch SAP_102044_201006_AIX.zip!6004916

apply patch SAP_102044_201006_AIX.zip!5935935

apply patch SAP_102044_201006_AIX.zip!5880921

apply patch SAP_102044_201006_AIX.zip!5561212

Processing patch "SAP_102044_201006_AIX.zip!9352164"...(1 of 34)

executing: "/oracle/XC1/102_64/bin/unzip" -qq -d "./mopatch-18964-946258" "/oracle/XC1/patches.10204/SAP_102044_201006_AIX.zip" "SAP_102044_201006/9352164/*"

unzip: can't find ./mopatch-18964-946258/stage, ./mopatch-18964-946258/stage.zip or ./mopatch-18964-946258/stage.ZIP, so there.

Processing patch "SAP_102044_201006_AIX.zip!9352164"...failed.

Reason: Cannot unpack patch.

I get the same error for all 34 patches. I'm following note 1027012. Any help would be greatly appreciated!

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

> executing: "/oracle/XC1/102_64/bin/unzip" -qq -d "./mopatch-18964-946258" "/oracle/XC1/patches.10204/SAP_102044_201006_AIX.zip" "SAP_102044_201006/9352164/*"

> unzip: can't find ./mopatch-18964-946258/stage, ./mopatch-18964-946258/stage.zip or ./mopatch-18964-946258/stage.ZIP, so there.

Can you execute manually

/oracle/XC1/102_64/bin/unzip" -qq -d "./mopatch-18964-946258" \
 "/oracle/XC1/patches.10204/SAP_102044_201006_AIX.zip"

Markus

Former Member
0 Kudos

I talked with our unix admin and found what appears to be an error in mopatch.sh. He commented out the original line and rearranged the variables and it successfully ran. ($unzip -qq etc. . . .)

  1. unpack the patch

log "executing: \"$unzip\" -qq -d \"$tmpdir\" \"$patchsrc\" \"$patchmlc/*\""

##if "$unzip" -qq -d "$patchstage" "$patchsrc" "$patchmlc/*" 1>&3 2>&1; then

if "$unzip" -qq "$patchsrc" "$patchmlc/*" -d "$patchstage" 1>&3 2>&1; then

:

else

perror "Cannot unpack patch."; continue 1

fi