[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1427
  • Last Modified:

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
0
hussainkhan22
Asked:
hussainkhan22
1 Solution
 
MikeOM_DBACommented:
Try this:
 

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

Open in new window

0
 
hussainkhan22Author Commented:
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:\>
0
 
k3paCommented:
Have you tried to run it from the patch dir?
cd C:\p8928976_111070_Win32\8928976
set OP=%ORACLE_HOME%/OPatch
%OP%/opatch apply

Open in new window

0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now