Link to home
Start Free TrialLog in
Avatar of hussainkhan22
hussainkhan22Flag for United States of America

asked on

ORACLE_CPU_PATCH

Hey guys I'm trying to apply OCT2009 CPU Patch on windows vista machine on Oracle 11g But facing an problem with OPatch. Below is what i did and got the error.

C:\p8928976_111070_Win32\8928976>opatch apply
'opatch' is not recognized as an internal or external command,
operable program or batch file.

C:\p8928976_111070_Win32\8928976>echo %ORACLE_HOME%
c:\app\Hussain\product\11.1.0\db_1
Avatar of MikeOM_DBA
MikeOM_DBA
Flag of United States of America image

Try this:
 

set OP=%ORACLE_HOME%/OPatch
%OP%/opatch apply

Open in new window

Avatar of hussainkhan22

ASKER

C:\>set ORACLE_HOME=c:\app\hussain\product\11.1.0\db_1

C:\>set OP=%ORACLE_HOME%/OPatch

C:\>%OP%/opatch apply
Invoking OPatch 11.1.0.6.2
OPatch could not create/open history file for writing : c:\app\hussain\product\1
1.1.0\db_1\cfgtoollogs\opatch\opatch_history.txt
c:\app\hussain\product\11.1.0\db_1\cfgtoollogs\opatch\opatch_history.txt (The sy
stem cannot find the path specified)

Oracle Interim Patch Installer version 11.1.0.6.2
Copyright (c) 2007, Oracle Corporation.  All rights reserved.


Oracle Home       : c:\app\hussain\product\11.1.0\db_1
Central Inventory : C:\Program Files\Oracle\Inventory
   from           : n/a
OPatch version    : 11.1.0.6.2
OUI version       : 11.1.0.7.0
OUI location      : c:\app\hussain\product\11.1.0\db_1\oui
Log file location : c:\app\hussain\product\11.1.0\db_1\cfgtoollogs\opatch\opatch
2009-12-25_23-07-04PM.log

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 = C:\
  Details = PatchObject constructor: Input file "C:\etc\config\actions" or "C:\e
tc\config\inventory" does not exist.

ApplySession failed: PatchObject constructor: Input file "C:\etc\config\actions"
 or "C:\etc\config\inventory" does not exist.
System intact, OPatch will not attempt to restore the system
java.lang.RuntimeException: PatchObject constructor: Input file "C:\etc\config\a
ctions" or "C:\etc\config\inventory" does not exist.
        at oracle.opatch.PatchObject.createPatchObject(PatchObject.java:1826)
        at oracle.opatch.PatchObject.<init>(PatchObject.java:1625)
        at oracle.opatch.PatchObjectUtil.loadPatch(PatchObjectUtil.java:1439)
        at oracle.opatch.ApplySession.loadAndInitPatchObject(ApplySession.java:1
463)
        at oracle.opatch.ApplySession.process(ApplySession.java:5236)
        at oracle.opatch.OPatchSession.main(OPatchSession.java:1602)
        at oracle.opatch.OPatch.main(OPatch.java:619)

OPatch failed with error code = 73

C:\>
ASKER CERTIFIED SOLUTION
Avatar of k3pa
k3pa
Flag of Spain image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial