Doubt on opatch utility

I applied a patch which converted
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
to
Oracle9i Enterprise Edition Release 9.2.0.2.1 - Production
Now how I am using opatch lsinventory to list the patch applied
i get nothing in the log file generated
The log file look like this
reating log file "F:\oracle\ora92\.patch_storage\LsInventory__11-02-2006_11-38-41.log"
Accessing inventory ... (retry 10 times, delay 30 seconds each time)
Invoking command """C:\Program Files\Oracle\jre\1.3.1\bin\java.exe" -classpath "C:\Program Files\Oracle\oui\lib\OraInstaller.jar;C:\Program Files\Oracle\oui\lib\srvm.jar;F:\oracle\ora92\OPatch\jlib\opatch.jar;;F:\oracle\ora92\jlib\share.jar " -Doracle.installer.invPtrLoc=N/A -Dopatch.retry=10 -Dopatch.delay=30 opatch/LsInventory "C:\Program Files\Oracle\oui" "f:\oracle\ora92" opatch.pl 1.0.0.0.55 FALSE""
Result:
OPatch succeeded.
Could some one plz tell me how to use opatch utility

Sir,
This what i get
C:\>perl F:\oracle\ora92\OPatch\opatch.pl -r lsinventory -all
Oracle Interim Patch Installer version 1.0.0.0.55
Copyright (c) 2006 Oracle Corporation. All Rights Reserved..
We recommend you refer to the OPatch documentation under
OPatch/docs for usage reference. We also recommend using
the latest OPatch version. For the latest OPatch version
and other support related issues, please refer to document
293369.1 which is viewable from metalink.oracle.com
Oracle Home = F:\oracle\ora92
Location of Oracle Universal Installer components = C:\Program Files\Oracl
Location of OraInstaller.jar = "C:\Program Files\Oracle\oui\lib"
Oracle Universal Installer shared library = C:\Program Files\Oracle\oui\bi
2\oraInstaller.dll
Location of Oracle Inventory Pointer = N/A
Location of Oracle Inventory = C:\Program Files\oracle\inventory
Path to Java = "C:\Program Files\Oracle\jre\1.3.1\bin\java.exe"
Log file = F:\oracle\ora92/.patch_storage/<patch ID>/*.log
Creating log file "F:\oracle\ora92\.patch_storage\LsInventory__11-03-2006_
11.log"
OPatch succeeded.
C:\>
and log look like
Creating log file "F:\oracle\ora92\.patch_storage\LsInventory__11-03-2006_15-40-11.log"
Accessing inventory ... (retry 10 times, delay 30 seconds each time)
""C:\Program Files\Oracle\jre\1.3.1\bin\java.exe" -classpath "C:\Program Files\Oracle\oui\lib\OraInstaller.jar;C:\Program Files\Oracle\oui\lib\srvm.jar;F:\oracle\ora92\OPatch\jlib\opatch.jar;;F:\oracle\ora92\jlib\share.jar" -Doracle.installer.invPtrLoc=N/A -Dopatch.retry=10 -Dopatch.delay=30 opatch/LsHome "C:\Program Files\Oracle\oui" "f:\oracle\ora92" opatch.pl 1.0.0.0.55 FALSE"
Retrieving $ORACLE_HOME details
Invoking command """C:\Program Files\Oracle\jre\1.3.1\bin\java.exe" -classpath "C:\Program Files\Oracle\oui\lib\OraInstaller.jar;C:\Program Files\Oracle\oui\lib\srvm.jar;F:\oracle\ora92\OPatch\jlib\opatch.jar;;F:\oracle\ora92\jlib\share.jar" -Doracle.installer.invPtrLoc=N/A -Dopatch.retry=10 -Dopatch.delay=30 opatch/LsHome "C:\Program Files\Oracle\oui" "f:\oracle\ora92" opatch.pl 1.0.0.0.55 FALSE""
OPatch succeeded.

Similar Messages

  • How to install opatch utility and upgrade the existing version of db

    Hi how to install opatch utility to the existing 9.2.0.1 database and how to upgrade to 9.2.0.6 using opatch.
    Thanks,

    First terminology:
    patch - fix for some bug
    patchset - collection of patches (many).
    Opatch utility is only for applying patches not for patchests.
    Btw specify OS for future.

  • Opatch utility

    Hi,
    i want to practice to do patching the oracle using opatch utility.
    How can i do this?if any options available for this
    I have installed oracle10gR2 on rhel5 in my laptop for practice purpose .PLease help me...
    Regards,
    S.Mugunthan.

    goto the below link:
    http://download.oracle.com/docs/cd/B1930601/em.102/b16227/oui1_basics.htm#CIHGIJGJ_
    Opatch
    From Oracle FAQ
    Jump to: navigation, search
    OPatch is the Oracle database's Interim (one-off) Patch Installer.
    If OPatch is not installed into your Oracle Home ($ORACLE_HOME/OPatch), you may need to download it from Metalink and install it yourself.
    [edit] Syntax
    Syntax and options can be displayed using the -help option:
    $ cd $ORACLE_HOME/OPatch
    $ opatch -help
    Invoking OPatch 10.2.0.4.2
    Oracle Interim Patch Installer version 10.2.0.4.2
    Copyright (c) 2007, Oracle Corporation.  All rights reserved.
    Usage: opatch [ -help ] [ -r[eport] ] [ command ]
                command := apply
                           lsinventory
                           napply
                           nrollback
                           rollback
                           query
                           version
                           prereq
                           util
    <global_arguments> := -help       Displays the help message for the command.
                           -report     Print the actions without executing.
    example:
       'opatch -help'
       'opatch apply -help'
       'opatch lsinventory -help'
       'opatch napply -help'
       'opatch nrollback -help'
       'opatch rollback -help'
       'opatch prereq -help'
       'opatch util -help'
    OPatch succeeded.
    [edit] Listing installed patches
    All patches that are installed with Oracle's OPatch Utility can be listed by invoking the opatch command with the lsinventory option. Here is an example:
    $ cd $ORACLE_HOME/OPatch
    $ opatch lsinventory
    Invoking OPatch 10.2.0.1.0
    Oracle interim Patch Installer version 10.2.0.1.0
    Copyright (c) 2005, Oracle Corporation.  All rights reserved..
    Installed Top-level Products (1):
    Oracle Database 10g                                           10.2.0.1.0
    There are 1 products installed in this Oracle Home.
    There are no Interim patches installed in this Oracle Home.
    OPatch succeeded.

  • How to use Opatch Utility

    I am new to Oracle Opatch Utility and can't seen to find the correct information on Metalink or OTN. My database system contains Oracle 11g, version 11.1.0, running on Red Hat Linux Enterprise Server4.1
    My questions are as follows:
    1. Do you run Opatch as the Oracle user? or as root?
    2. Are there any other environment variables besides the $ORACLE_HOME, that need to be set for Opatch to run properly?
    3. When I run the command ". opatch lsinventory -detail" as the oracle user, the output scrolls off the screen, and when the command terminates, it exits from the Oracle connection. Is this a normal Opatch behavior?
    Thanks in advance for any input on this subject.
    Eduardo B.

    You can check metalink doc
    OPATCH FAQ
    Doc ID: 242993.1
    which should answer many of your questions.
    you should run opatch as oracle user not root.
    usually there's patch note if you need to run opatch. you just follow what's patch not suggested.
    No, opatch lsinventory shouldn't close out the oracle OS user connection after run.
    oracle %./opatch lsinventory
    Invoking OPatch 10.2.0.3.0
    Oracle interim Patch Installer version 10.2.0.3.0
    Copyright (c) 2005, Oracle Corporation.  All rights reserved..
    Oracle Home       : /oracle/app/oracle/product/10.2.0/db_1
    Central Inventory : /oracle/app/oracle/oraInventory
       from           : /var/opt/oracle/oraInst.loc
    OPatch version    : 10.2.0.3.0
    OUI version       : 10.2.0.3.0
    OUI location      : /oracle/app/oracle/product/10.2.0/db_1/oui
    Log file location : /oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/
    opatch/opatch2009-01-27_14-07-15PM.log
    Lsinventory Output file location : /oracle/app/oracle/product/10.2.0/
    db_1/cfgtoollogs/opatch/lsinv/lsinventory2009-01-27_14-07-15PM.txt
    Installed Top-level Products (2):
    Oracle Database 10g                                             10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 2                       10.2.0.3.0
    There are 2 products installed in this Oracle Home.
    Interim patches (2) :
    Patch  5556081      : applied on Thu Mar 06 11:14:13 PST 2008
       Created on 9 Nov 2006, 22:20:50 hrs PST8PDT
       Bugs fixed:
         5556081
    Patch  5557962      : applied on Thu Mar 06 11:14:03 PST 2008
       Created on 9 Nov 2006, 23:23:06 hrs PST8PDT
       Bugs fixed:
         4269423, 5557962, 5528974
    OPatch succeeded.
    oracle %

  • How to Patch on Windows (same as OPatch utility)???

    Hi All,
    I am applying a JDBC patch in oracle (using OPatch utility) with OS Sun SPARC... But I got an issue while applying the patch and oracle says that OPatch 10.2.0.4.3 has an internal bug..
    My questions is How I can apply the same patch (it's paltform independent) in Windows OS ??
    Do we need to use OPatch option or what's the altrenate utility to apply patch in windows??
    Thanks a lot...

    I am sure you need following steps.....I have struggled my way once... not tough though...
    happy patching :)))
    1) set oracle_home= < oracle home>
    2) set PATH=<oracle home>\Opatch;%PATH%
    3) run "opatch lsinventory" to know that everything is set properly
    4) go to patch directory where you have extracted patch and run "opatch apply"

  • Install Opatch Utility 6880880

    I try to apply Oracle interim patch released on March 2009. But the document syas that I have to use Opatch utility 10.2.0.4.3 or later. The current version on my DB server is 10.2.0.4.2. So I have to install Opatch Utility patch 6880880. In the README document, it says: " to install this patch, simply extract the file directly under the ORACLE_HOME". In my understanding, this Opatch utility is a java based program. As long as I extract zipped file under Oracle_Home, it will be ready to execute for Opatch usage. Am I right? Please confirm my thought and give me your advice. Thanks.

    Do exactly as the document indicates and it should work correctly.

  • Doubt in java.util.logging

    Hi,
    I have doubt in logging api provided in java 1.4.
    I have a simple program to get the logger and output log into it.
    This is how the program looks.
    LogTest.java
    import java.util.logging.*;
    import java.util.*;
    public class LogTest {
    public static void main(String args[]) {
         LogManager manager = LogManager.getLogManager();
         Logger l = manager.getLogger("global");
         System.out.println(l);
         l.severe("Test");
         System.out.println(manager.getLogger("ivy"));
         System.out.println(manager.getLogger("test"));
    I able to get the instance of the global logger, but im not able to get instance of other logger. I getting null for all the other logger
    test.properites
    =================
    handlers = java.util.logging.ConsoleHandler
    java.util.logging.ConsoleHandler.level=INFO
    java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
    ivy.level = INFO
    .ivy.level = INFO
    =================
    Compilation Command
    java -Djava.util.logging.config.file=C:\WorkSpace\test.properties LogTest Output:
    java.util.logging.Logger@13f5d07
    Jan 25, 2006 7:19:24 PM LogTest main
    SEVERE: Test
    null
    null
    I also tried the same with no config properties, Still im getting the null for logger.
    Can I know is there anything that im missing. Is there any property that must be set or do i hav set some config properties.
    Thanks,
    Siva

    Well, basically that's part of the formatdefinition
    that Properties uses. If you don't do it, then you
    aren't really using Properties format and you'llhave
    to do your own IO.Thanks for the reply. Is there anyother api or class
    that can be used to resolve my problem.What is the problem? A character is escaped, but you will get : when you read the value. You don't have a problem as long as all reading / writing is done through that class.

  • Doubt on import utility

    I want to export data from 10g release 2 database and import it into the 11g database . The database structure varies ie most of the schemas thati need to import are new ones which dont exist in the 11g database.
    When I do a full database export from 10g db and then do a full database import into 11g db using datapump import I face many errors like
    ORA-39083: Object type OBJECT_GRANT failed to create with error:
    ORA-01917: user or role 'SH' does not exist
    Failing sql is:
    GRANT WRITE ON DIRECTORY "LOG_FILE_DIR" TO "SH"So should I create the users in the target db before running the import since there are hundereds of new users and creating users will be a hectic job or did i commit any mistake in running the import utility ?

    Hi,
    >>So should I create the users in the target db before running the import since there are hundereds of new users and creating users will be a hectic job or did i commit any mistake in running the import utility ?
    I don't think so. Is there some problem in ran this command after the import operation?
    GRANT WRITE ON DIRECTORY "LOG_FILE_DIR" TO "SH"Cheers
    Legatti

  • How can install patch using OPatch utility in Linux

    I want to update Oracle patch 9352164.Currently, Oracle Patch is installed 10.2.0.4.0 but i required 10.2.0.4.4. I have downloaded 9352164 from oracle metlink site.
    I have also set environment variable path in bash_profile file.
    Environment variable Path setting
    "PATH=$PATH:$HOME/bin:/u01/app/oracle/product/10.2.0/db_1/OPatch/"
    It also shows following result against this command echo $PATH
    /u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/u01/app/oracle/product/10.2.0/db_1/OPatch/
    When i run the opatch apply command under the directory 9352164 then i received following error message
    [oracle@Vm006-IS-Test 9352164]$ opatch apply
    Invoking OPatch 10.2.0.4.2
    Oracle Interim Patch Installer version 10.2.0.4.2
    Copyright (c) 2007, Oracle Corporation. All rights reserved.
    Oracle Home : /u01/app/oracle/product/10.2.0/db_1
    Central Inventory : /u01/app/oracle/oraInventory
    from : /etc/oraInst.loc
    OPatch version : 10.2.0.4.2
    OUI version : 10.2.0.4.0
    OUI location : /u01/app/oracle/product/10.2.0/db_1/oui
    Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-06-20_15-22-17PM.log
    ApplySession failed: Patch ID is null.
    System intact, OPatch will not attempt to restore the system
    OPatch failed with error code 73
    Please help out..........

    Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-06-20_15-22-17PM.log
    INFO:Starting ApplySession at Mon Jun 20 15:22:17 PKT 2011
    INFO:Starting Apply Session at Mon Jun 20 15:22:17 PKT 2011
    SEVERE:OUI-67073:ApplySession failed: Patch ID is null.
    INFO:System intact, OPatch will not attempt to restore the system
    INFO:Finishing ApplySession at Mon Jun 20 15:22:17 PKT 2011
    INFO:Total time spent waiting for user-input is 0 seconds. Finish at Mon Jun 20 15:22:17 PKT 2011
    INFO:Stack Description: java.lang.RuntimeException: Patch ID is null.
    INFO:StackTrace: oracle.opatch.PatchObject.getPatchID(PatchObject.java:543)
    INFO:StackTrace: oracle.opatch.ApplySession.loadAndInitPatchObject(ApplySession.java:1487)
    INFO:StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5191)
    INFO:StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:1544)
    INFO:StackTrace: oracle.opatch.OPatch.main(OPatch.java:570)
    INFO:File "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/patch_unzip" cannot be deleted as it does not exist

  • Patch 6880880 (Upgrade Opatch Utility)

    Hi Guys,
    I need to apply Patch 6880880. From what I understand from the documentation and some posts about this patch is that this patch is nothing but upgrading the version of hpatch/Opatch.
    When I unzip folder p6880880_101000_MSWIN-x86-64.zip, it makes a folder called Opatch (according to earlier posts I need to overwrite the existing folder OPatch folder) in the Hyperion directory .
    But I am afraid to do that because the new OPatch folder resulting from unzipping the p6880880_101000_MSWIN-x86-64.zip file doesnt contain hpatch.bat.
    I need hpatch.bat because I further need to apply couple of more patches (9976978 and 11794962) to fix some HFM security issue. And the patch 6880880 is pre-requisite for patches 9976978 and 11794962.
    Please suggest.
    Thanks

    Thanks for the reply John!
    You mean just rename old Opatch folder to Opatch_old and unzip the new folder to D:\Hyperion?. Or make a copy of old Opatch folder in some other directory and then just simply unzip the new Opatch folder and overwrite the existing?.
    Also, I hope by doing this any existing patch that has been applied in the past doest get effected?
    Thanks

  • Doubt in IMPORT utility

    Two databases are there (10g). SRC and TGT .
    A_SRC table in SRC database and A_TGT table in TGT are same in structure except data.
    I want to export data from A_TGT and import it to A_SRC.
    A_SRC has a before update or insert on each row trigger is there which will change one col value to a seq.next value .
    So, while importing data from A_TGT exported file , that col is having the old data and its not changing to new value..
    it seems like trigger is not firing for IMPORT inserted records..
    I checked that trigger is enabled and manually inserted one record and trigger is changing the col value to new value ..its fine..
    Is it true that IMPORT cant fire triggers associated to the table..
    If I want to make that trigger change the value for each record in the table what I have to do..
    Please tell me what exactly this import is doing as bcos the trigger is not firing..
    Thanks in Advance..

    Are you using data pump or original import?
    Check here
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_triggers.htm#sthref1162
    >
    Do Import and SQL*Loader Fire Triggers?
    INSERT triggers fire during SQL*Loader conventional loads. (For direct loads, triggers are disabled before the load.)
    The IGNORE parameter of the IMP command determines whether triggers fire during import operations:
    If IGNORE=N (default) and the table already exists, then import does not change the table and no existing triggers fire.
    If the table does not exist, then import creates and loads it before any triggers are defined, so again no triggers fire.
    If IGNORE=Y, then import loads rows into existing tables. Any existing triggers fire, and indexes are updated to account for the imported data.

  • Doubt in java.util.Properties

    I have a configuration file which consists of name & value pairs. For editing this file i am using Properties class. The problem is , when it finds any property value which consists of character : (colon), its automatically inserting \ (backslash) before the colon(:). How can i get rid of this problem. Any help is highly appreciated. Thank you

    Well, basically that's part of the formatdefinition
    that Properties uses. If you don't do it, then you
    aren't really using Properties format and you'llhave
    to do your own IO.Thanks for the reply. Is there anyother api or class
    that can be used to resolve my problem.What is the problem? A character is escaped, but you will get : when you read the value. You don't have a problem as long as all reading / writing is done through that class.

  • Opatch doubt

    Hi all,
    to apply a patch using OPatch utility do we have to shutdown the Application and database services ( db and DB Listener ) ..?
    Plz suggest.
    Regards,
    Krishnaraj

    Opatch will fail if there are any active processes in the Oracle Home being patched. If you are applying R12 patches to 10.1.2 or 10.1.3 Oracle Homes, the applications must be down. If you are applying database patches, all processes must be down, including database and listener.

  • Patch number for upgrading opatch from 10.2.0.1.0 to 10.2.0.1.1

    Please can someone tell me what is the Patch number for upgrading opatch utility from 10.2.0.1.0 to 10.2.0.1.1?
    Thanks in advance.

    Sami,
    Why don't you use the latest version of opatch (Patch 4898608 - OPatch 10.2.0.1.6)?

  • Installing Opatch tool

    Please can some one lead me in the following text, on how to install oracle tool OPATCH?
    My question : After reading the below text, I download the zip file of the OPATCH tool, I unzip the file under oracle home. When unzipping the file, it created another directory under orache home.
    But how can I do next to upgrate my oracle OPATCH from the unzipped file resulted?
    README for 4898608
    Patch Details
    Patch summary:
    README file for OPatch(10.2.0.1.4), the Oracle Interim Patching Tool.
    This patch installs the "OPatch" utility. OPatch is used for patching
    Oracle software. If you have an older version of opatch it is strongly
    recommended to back it up.
    OPatch is Oracle's only supported method of installing Interim
    patches. It updates the central and per-product inventories with the
    details of the patch.
    How to install the utility:
    To install this patch simply extract the file p4898608_10203_GENERIC.zip
    using unzip or winzip, depending upon the platform. You should extract
    the zip file directly under the ORACLE_HOME.
    Thanks

    Hi,
    Please see OPatch documentation list Doc ID: Note:293369.1. Hope it helps.
    Adith

Maybe you are looking for