Posted on 2009-12-24
Last Modified: 2013-12-18
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%
Question by:hussainkhan22
    LVL 29

    Expert Comment

    Try this:

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

    Open in new window


    Author Comment

    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
    OPatch could not create/open history file for writing : c:\app\hussain\product\1
    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
    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    :
    OUI version       :
    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

    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(
            at oracle.opatch.PatchObject.<init>(
            at oracle.opatch.PatchObjectUtil.loadPatch(
            at oracle.opatch.ApplySession.loadAndInitPatchObject(
            at oracle.opatch.ApplySession.process(
            at oracle.opatch.OPatchSession.main(
            at oracle.opatch.OPatch.main(

    OPatch failed with error code = 73

    LVL 4

    Accepted Solution

    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


    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
    This post first appeared at Oracleinaction  ( Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now