Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opatch and cpu 6864068 on Oracle 10.2.0.3 1

Status
Not open for further replies.

4gandalf

MIS
Jul 24, 2002
12
0
0
US
Greetings and salutations:

I'm trying to install patch 6864068 on Oracle 10.2.0.3 running on Linux 64-bit.
I'm using opatch 10.2.0.4.8. Patch 6864068 has multiple cpus inside it, each in a
seperate folder.

When I run the command: ./opatch napply -skip_subset -skip_duplicate I get the
following message from opatch:

SEVERE:OPatch invoked as follows: 'napply -skip_subset -skip_duplicate '
INFO:
Oracle Home : /opt/oracle/product/10.2/db_1
Central Inventory : /opt/oracle/oraInventory
from : /etc/oraInst.loc
OPatch version : 10.2.0.4.8
OUI version : 10.2.0.3.0
OUI location : /opt/oracle/product/10.2/db_1/oui
Log file location : /opt/oracle/product/10.2/db_1/cfgtoollogs/opatch/opatch2009-10-22_16-18-25PM.log

INFO:patch history file: /opt/oracle/product/10.2/db_1/cfgtoollogs/opatch/opatch_history.txt

INFO:Invoking utility "napply"
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/README.txt" in the patch directory.
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/auto_patch.pl" in the patch directory.
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/emdpatch.pl" in the patch directory.
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/opatch" in the patch directory.
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/opatch.bat" in the patch directory.
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/opatch.ini" in the patch directory.
INFO:Ignoring file "/opt/oracle/product/10.2/db_1/OPatch/opatch.pl" in the patch directory.
INFO:patchObject::patchObject() Patch location is /opt/oracle/product/10.2/db_1/OPatch/6864068
INFO:patchObject::createPatchObject() Patch location is /opt/oracle/product/10.2/db_1/OPatch/6864068
INFO:patchObject::createPatchObject() patch location is /opt/oracle/product/10.2/db_1/OPatch/6864068
SEVERE:OUI-67075:Failed to load the patch object. Possible causes are:
The specified path is not an interim Patch shiphome
Meta-data files are missing from the patch area
Patch location = /opt/oracle/product/10.2/db_1/OPatch/6864068
Details = PatchObject constructor: Input file "/opt/oracle/product/10.2/db_1/OPatch/6864068/etc/config/actions" or "/opt/oracle/product/10.2/db_1/OPatch/6864068/etc/config/inventory" does not exist.

SEVERE:OUI-67100:NApply could not load patch from location '/opt/oracle/product/10.2/db_1/OPatch/6864068'
SEVERE:OUI-67073:UtilSession failed: PatchObject constructor: Input file "/opt/oracle/product/10.2/db_1/OPatch/6864068/etc/config/actions" or "/opt/oracle/product/10.2/db_1/OPatch/6864068/etc/config/inventory" does not exist.
INFO:Finishing UtilSession at Thu Oct 22 16:18:29 CDT 2009
-----------------------------------------------------------

Opatch is looking for the "actions" and "inventory" files in the wrong place. The files are actually located under each cpu folder, for example cpu 6121183: /6864068/6121183/etc/config/

Until now opatch has worked great for me.

Your help in this is greatly appreciated.
 
It looks to me as if you ran opatch from the wrong directory. You should be running $ORACLE_HOME/OPatch/opatch, but before invoking opatch you should cd to the 6864068 directory in your CPU staging area. Quoting from the 6864068 readme doc:

readme for April 2008 CPU said:
Set your current directory to the directory where the patch is located and then run the OPatch utility by entering the following commands:

cd 6864068
opatch napply -skip_subset -skip_duplicate


 
You don't actually say which directory you were in when you invoked opatch, but I infer you were in $ORACLE_HOME/OPatch because you ran it using a "./opatch" command.
 
Thank you Karluk for your reply.

Yes, I did indeed run opatch from its directory $ORACLE_HOME/OPatch. I didn't know that it was sensitive to where it is invoked.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top