Rogue Oracle Homes when using Opatch

Hi, I am using Opatch ( in this case to check for one off patch conflicts ) before applying PSU 11.1.0.7.6
The Opatch session appears to be picking up rogue Oracle Homes ( presumably from past cloning sessions or previous installs ). It also is throowing an error
Home name= APPSIAS_LPROD, Location= "/fs03/LPROD/lprodora/iAS"
Home name= APPSIAS_LDEV2, Location= "/fs19/LDEV2/ldev2ora/iAS"
Home name= APPSIAS_LUAT, Location= "/fs22/LUAT/luatora/iAS"
Home name= OraDb11g_LUAT, Location= "/fs22/LUAT/luatdb/product/11.1.0/db"
Home name= ORACLE_HOME1, Location= "/fs03/LPROD/lproddb/8.1.7"
Home name= APPSDB_LDEV2, Location= "/fs19/LDEV2/ldev2db/9.2.0"
Home name= OraDb11g_LUAT1, Location= "/fs22/LUAT/luatdb/product/11.1.0/db_1"
Home name= OraDb11g_LPROD, Location= "/fs03/LPROD/lproddb/product/11.1.0/db"
Home name= APPSDB_LUAT, Location= "/fs29/LUAT/luatdb/product/11.1.0/db"
INFO:Throwable Occured: OracleHomeInventory gets null oracleHomeInfo
The throwable is converted into Exception and stored in Result Object.
where is Opatch picking these homes up from and how do I reset Opatch to pick up the proper Homes
Jim

This seems to be an EBS install. See if MOS Doc 742477.1 (How to create, update or rebuild the Central Inventory for Applications R12) can help remove these bogus HOMEs
HTH
Srini

Similar Messages

  • Difference between Oracle 10g and Oracle 11g when using Distinct in SQL

    Hi All,
    When I use Distinct in Oracle 10g, the result would be sorted in ascending order automatically, while there is no sorting in the result set in Oracle 11g.
    I was using plsql developer to run my sql.
    May I know if anyone have the same experience before?
    Is there any kind of setting in 11g that I can make the result in order? Thanks!
    Edited by: user5810051 on 2011/4/6 下午 8:47

    As acadet says, if you want your result ordered you must specify an ORDER BY clause in your query. Just because previous versions of oracle included some ordering as part of the processing of a query, that was not a guaranteed ordering, but just a side-effect. Now that Oracle have improved the internal workings, they've removed the side-effect, and that's why you're not getting the ordering you want, because you were relying on that side-effect rather than explicitly stating the order you wanted.

  • Security Exception in Oracle Forms when using with JRE.

    Hi,
    I am am getting an exception whenl I try to dispose a message box(FWindow) received as a popup from an Oracle form page(configured using JRE).
    When I hit over the OK/Cancel button to dispose off the messagebox,it is not I get the following error.
    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context
         at java.awt.KeyboardFocusManager.getGlobalFocusOwner(Unknown Source)
         at java.awt.KeyboardFocusManager.processSynchronousLightweightTransfer(Unknown Source)
         at sun.awt.windows.WComponentPeer.processSynchronousLightweightTransfer(Native Method)
         at sun.awt.windows.WComponentPeer.requestFocus(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocusHelper(Unknown Source)
         at java.awt.Component.requestFocus(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.requestFocus(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMousePressed(Unknown Source)
         at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mousePressed(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
         at oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy.processEventImpl(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I am able to dispose the messagebox, when I configure the oracle form with Jinitiator, the issue happens only with JRE.
    These are the configurations I use.
    10g Release2
    Windows XP Professional Version 2002, Service Pack 3
    IE version 6.0.2900.5512.xpsp_sp3_gdr.090804-1435
    JInit-JInitiator 1.3.1.22, Sun JRE- 1.6.0_17
    I am working on Developer suite.
    Privilege: Windows Administrator
    Kindly guide.
    Thanks & Regards
    Sunil

    Hi Sunil,
    Did you ever find a fix for this problem?
    I'm having exactly the same issue.
    I have an oracle form with a java bean that runs against J Initiator 1.3.1.28, and it works fine, with J Initiator. The java code was compiled against JDK 1.3.
    My form now uses the Sun JRE 1.6, update 16. I've recompiled the java code against JDK 1.6.
    And now when the java code sends an event to the form and I show an alert I get the same error you were getting:
    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context.
    I recompiled the java code against JDK 1.3, and ran it through the Sun JVM 1.6, and I still get the error.
    Any idea how to fix this?
    Regards,
    Chris.

  • How to insert multiple rows in oracle forms when using TEMPLATE FORM

    I got a case study on PO creation nd in that I have to insert multiple rows in form especally when PO creation screen is there.
    I tried by different syntaxes but its not working.I need correct syntax to insert the multiple rows in to the table in oracle forms

    Please Oracle EBS queries on EBS forums.

  • TibookG4 freezes in new home when using airport and walking around to anoth

    Since I moved, in my new house I only receive my Airport extreme Basestation in a small distance of about 6 meters. When I walk with my G4 Titaniumbook (with normal (old) airportcard) to the kitchen, it freezes! My boyfriend who has a PC, has no problem at all...There are no microwaves or other magetic/electrical power obsticals. I rebooted the Basestation soft and hard, I updated my OS to 10.4.8 and updated the airportsoftware too , althought I always do this automatically by the 'software updater'. What is specific at it, is when I start up in the kitchen (problem-airea), the finder only starts up with the spotlight-icon; no time-, battery and other indicators. And the cursor doesn't work. The only thing I can do is (when I want to work in the kitchen), walk back to the living, reboot the mac by pushing 6 seconds the powerbutton, disable airport, and go back to the kitchen to work, but without wireless...
    There are about 6 other wirelessstations here in the area, so I also tried to change the chanels. No improvements.
    A friend of mine visited me with a Powerbook 12"(with a airport extreme card). She discovered in the first place no problems at all while I did. But after a while, (because more wireless networks were active???) she couldn/t receive the airport aswell...
    Is there somebody who recongnizes this problem? And can help me?
    Thanks a lot!
    Sascha
    TibookG4   Mac OS X (10.4.8)  

    I don't have any solutions, but I had been reading about some folks having airport related kernel panics in the MacBook discussion forum. As a matter of fact, I had a kernel panic a little while back on my MacBook, and the crash log pointed to some issues with airport drivers. Here is what Macfixit says about these drivers and I quote:
    "Bad built-in hardware (including hard drives) Repeated kernel panics can be the result of incompatible, damaged or misconfigured built-in hardware. This includes built in AirPort, Bluetooth and other networking hardware, corrupt or damaged hard drives, faulty processors and more. Examine your crash log (as discussed in our tutorial "An introduction to reading Mac OS X crash reports") for clues as to which device is implicated.
    Sometimes the fix is as simple as re-seating built-in hardware. Make sure any PCI, PCI Express, AirPort and other expansion-type hardware is firmly and properly seated in its appropriate port.
    In other cases, the fix involves attacking the problem at a driver or kernel extension level. Again, examine your crash reports and look for components specifically linked to certain hardware. For instance, the following Mac OS X components are all used by Apple AirPort hardware, and can be implicated (by crash logs) in kernel panics:
    com.apple.driver.AirPortAtheros5424(100.21)
    com.apple.iokit.IONetworkingFamily(1.5.0)
    com.apple.iokit.IOPCIFamily(1.9)
    com.apple.iokit.IO80211Family(110.19)
    After determining device-specific components, you can try re-installing them -- either by performing an "Archive and Install" of Mac OS X, or downloading and manually placing items."
    http://www.macfixit.com/article.php?story=20060911080447777

  • Error when applying opatch

    Recently upgraded from Oracle 10.2.0.1 to 10.2.0.5 & since then i cant run OEM, so oracle suggested Apply Patch 8350262 to your Oracle Home installation using OPatch.
    OS : Windows 2003 32 bit
    DB : Oracle 10.2.0.5
    I get below error when apply opatch.
    C:\oracle\product\10.2.0\db_1\OPatch>opatch apply 8350262
    Invoking OPatch 10.2.0.4.9
    Oracle Interim Patch Installer version 10.2.0.4.9
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    Oracle Home : C:\oracle\product\10.2.0\db_1
    Central Inventory : C:\Program Files\Oracle\Inventory
    from : n/a
    OPatch version : 10.2.0.4.9
    OUI version : 10.2.0.5.0
    OUI location : C:\oracle\product\10.2.0\db_1\oui
    Log file location : C:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch2013-
    01-02_23-02-41PM.log
    Patch history file: C:\oracle\product\10.2.0\db_1\cfgtoollogs\opatch\opatch_hist
    ory.txt
    ApplySession applying interim patch '8350262' to OH 'C:\oracle\product\10.2.0\db
    _1'
    Running prerequisite checks...
    Prerequisite check "CheckApplicable" failed.
    The details are:
    Patch 8350262: Required component(s) missing : [ oracle.sysman.agent.core, 10.2.
    0.4.0a, higher version 10.2.0.5.0a found. ]
    ApplySession failed during prerequisite checks: Prerequisite check "CheckApplica
    ble" failed.
    System intact, OPatch will not attempt to restore the system
    OPatch failed with error code = 74
    C:\oracle\product\10.2.0\db_1\OPatch>
    Any help would be appreciated.
    Thanks,
    Vikhar

    Do you mean this "The patch is also included in 10.2.0.5 database patch 5 and 10.2.0.5.3 (PSU3)" which is quoted in (DOC ID 1222603.1), if so, i have downloaded. However, can you give me patch # for 10.2.0.5 version in order to double check , may be by mistake i download wrong version.
    Thank you,

  • Inventory load failed... OPatch cannot load inventory for the given Oracle Home.OPatch failed with error code = 73

    Hi,
    I am going to apply bundle patch and my oracle database is 11.2.0.2 and platform Microsoft Windows x86. As per the read me file Oracle recommends that to use OPatch utility release 11.2.0.1.3 or later.To check the accessibility to the inventory i use %ORACLE_HOME%/OPatch/opatch lsinventory command.
    It ended up with giving below details.
    Invoking OPatch 11.2.0.1.1
    OPatch could not create/open history file for writing : ***my oracle home path***\cfgtoollogs\opatch\opatch_history.txt
    **oracle_home***\cfgtoollogs\opatch\opatch_history.txt (Access is denied)
    Oracle Interim Patch Installer version 11.2.0.1.1
    Copyright (c) 2009, Oracle Corporation.  All rights reserved.
    OPatch could not open log file, logging will not be possible
    Oracle Home       : *****
    Central Inventory : C:\Program Files\Oracle\Inventory
       from           : n/a
    OPatch version    : 11.2.0.1.1
    OUI version       : 11.2.0.2.0
    OUI location      : **ORACLE_HOME***\oui
    Log file location : **ORACLE_HOME**\cfgtoollogs\opatch\opatch2015-04-09_16-27-49PM.log
    Patch history file: **ORACLE_HOME**\cfgtoollogs\opatch\opatch_history.txt
    Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
    LsInventorySession failed: LsInventory cannot create the log directory **ORACLE_HOME***\cfgtoollogs\opatch\lsinv\lsinventory2015-04-
    09_16-27-49PM.txt
    OPatch failed with error code = 73
    Can anyone please help me to solve this?
    Do I need to install latest opatch utility?

    Hi,
    this error message "  LsInventorySession failed: LsInventory cannot create the log directory **ORACLE_HOME***\cfgtoollogs\opatch\lsinv\lsinventory2015-04-
    09_16-27-49PM.txt "
    indicates that you have permission issue with your file systems : ORACLE_HOME/cfgtoollogs/opatch
    double check the owner of this file system.
    Regards,

  • Multiple APEX instances sharing the same Oracle Home?

    Can someone tell me if it is possible to have multiple APEX installations where the database instances are sharing the same Oracle Home? If so, how would this be set up?
    So, if I have development and test running on the same home, I want a separate APEX instance for each. We can do this when different Oracle homes are used (separate httpd running) but not for the same home.
    Thanks

    Thanks - We have tried putting 2 dad entries in file, but not sure how you connect. You only specify a port number, so how does it connect that to a db???

  • 10.2 Oracle Home after 11i 12 upgrade

    We have done an upgrade of 11.5.9 to 12.0.6 on TEST. We did the DB upgrade separately (ie - not within the rapidinstall part). So, we have the original 10.2 oracle home from 11i, as well as the 10.2 oracle home that was supplied with rapidinstall. Herein lies the question:
    1) Does it matter which Oracle Home is used (presuming both are at the same patchset level? Will their be future implications if the 11i 10.2 oracle home is used?
    2) If we are using the 11i 10.2 Oracle Home, how does one move to the other Oracle Home (the one that the release 12 rapidinstall supplied) - is this part of running the appsutil.zip? Please bear with me on these questions - it's been a couple of months since we did this, and we're just reviewing everything again in further detail.
    Thanks everyone.

    Hi Hussein,
    Perhaps I used the wrong words (my apologies).
    1) We upgraded our 11.5.9CU2 9.2.0.8 DB to 10.2.0.4 first, before running rapidinstall (because this is how we plan to do it in PROD - this breaks up the downtimes to our users).
    2) We did not install a 12i 10.2 oracle home per se - when we ran the rapid install, it supplied the filesystem: $ORACLE_BASE/db/tech_st/10.2.0/ - and this is what is a little confusing to me.
    3) During the 11i>12 upgrade, under the "Oracle Applications Upgrade Guide: Release 11i to Release 12.0.4" - Page 3-8 - step 7 - we generated a new context file under the 11i 10.2 oracle home.
    4) So, we clearly are using the 11i 10.2 Oracle Home. So my questions are:
    Q1) The filesystem that rapidinstall supplied (as noted in point 2 above) - essentially that is not doing anything - ie - it is a duplication?
    Q2) Under the "Oracle Applications Upgrade Guide: Release 11i to Release 12.0.4" - Page 3-2, Oracle says "We strongly recommend that you use the Release 12.0.4 Oracle Home supplied by Rapid Install..." - I guess this is the part that has me a bit confused, or I need a second opinion on. My assumption is that we are OK here in what we did - that being, using the 10.2.0.4 Oracle Home from 11i.
    Thanks very much...Colin

  • Find oracle home

    Hi,
    DB : 8i and 10g and 11g
    OS : Redhat 5 and AIX 6
    We have 5 db in a test server with same user name and different oracle home.Some times people wrongly started the db from other oracle home.How to find a instance using which oracle home in the server?
    How to find it?
    Thanks & Regards,
    VN
    Edited by: user3266490 on Apr 24, 2012 4:41 PM

    some times we started db with pfile from non default location?How to find where that pfile located?you cannot find the nondefault location of pfile ..
    When we have more than one oracle homes in a server,How to find A instance using which oracle home?Use the above command from the on prompt
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle Home CLone

    I want to clone oracle home from /u01/app/oracle/product/10.2.0.4
    to
    /u04/app/oracle/product/10.2.0.5/
    How to clone online

    Hi;
    Please see:
    Cloning A Database Home And Changing The User/Group That Owns It [ID 558478.1]
    FAQs on RDBMS Oracle Home Cloning Using OUI [ID 565009.1]
    Regard
    Helios

  • How can I install ASM instance in another oracle home?

    Hello:
    I have installed Oracle 10 g R2 software at a oracle home,and have create a database with an instance named ocafs withou ASM,now I want to install ASM instance and create a new database using ASM,how can I insure that the ASM is installed in it's own oracle home by using dbca or some other tools? And can I specify the instance name of the ASM?
    Thank you very much!

    Use the oui.exe (Universal Installer), it checks for existing homes. Based on what you want to do (create a new db with ASM), OUI is smart in that in will not let you create it in an existing home. It will prompt for a different location if you try to use an existing home.
    Good luck

  • Using patch plans for 12.1.0.2 target oracle home fails with 'PREREQ_MESG: Unable to get the version of OPatch'

    We are attempting to use patch plan to apply PSU and one-offs to a new 12.1.0.2 database oracle home.  Our EM version is 12.1.0.4.
    We are experiencing the same issue described in ''Bug 20271609 : Unable to get the version of OPatch".   This bug is closed as 'duplicate bug to filer' but we do not appear to have visibility into what patch/bug fixes the issue.
    Description from the above mentioned bug is our same issue.  We do not have this issue when we use patch plans against an 11.2.x oracle_home target.  It is unique to 12.1.0.2 oracle_home target.
    Description from the bug:
    The Plan failed in step "Run Prerequisite Checks" with the following errors:
    PREREQ_NAME: Minimum Version of OPatch
    PREREQ_DESC: Check if the required version of OPatch is present on the target
    PREREQ_TYPE: PATCH_TOOL_CHECK
    PREREQ_STATUS: FAILED
    PREREQ_MESG: Unable to get the version of OPatch at
    /u01/app/oracle/product/12.1.0/dbhome_2/Opatch
    We have opened an SR to see if we can get more info on what was already identified as a bug.  Has anyone else experienced this issue?  If so, can you share any patches or workarounds (other than manually applying patches) that you found useful?
    Thanks.

    You'll probably get the same info from Support, but the workaround is to use the Patch Database (however that doesn't work if there's no DB target associated to that home).   If you were trying to do patchign out of place (clone home, patch, then move db's), EM can do this for you.   If you're just installing a new DB Home and trying to patch, then i don' think there's another workaround.  The base bug is marked fixed though, so a backport for the 12.1.0.6 plugin should be available very soon.  I would ask the support analyst to request the backport for your plugin/patch level...

  • Error : - when removing un - used oracle home

    Hi All,
    I need to remove the oracle home which is not being used and i 've followd the below process and end up with the following error
    oracle:@lnxora05 /oracle/product/10.2.0.3oct07/oui/bin >./runInstaller -silent -detachhome ORACLE_HOME='/oracle/product/10.2.0.3oct07' ORACLE_HOME_NAME='ORACLE_HOME_10_2_0_3_OCT07'
    While executing the above, am getting the error
    The inventory pointer is located at /etc/oraInst.loc
    The inventory is located at /oracle/oraInventory
    The Oracle home '/oracle/product/10.2.0.3oct07' could not be detached as it does not exist.
    'DetachHome' failed.
    I tried oracle:@lnxora05 /oracle/product/10.2.0.3oct07/oui/bin >detachHome.sh also but same error.
    Can any one help me to resolve this error
    Thanks in advance !!!

    Team,
    The error is nothing going to do...
    I just verified inventory.xml file and found that it has been removed.
    No need to bother about the error........

  • How to avoid OCM reinstall through OPatch when using EM Harvester?

    Currently running OEM Grid Control 11g (11.1.0.1.1GC PSU) on an infrastructure repository database (11.2.0.1.2). Previously had OCM installed in every ORACLE_HOME in our environment. I removed all existing OCM installations and OCM Instrumentation in each database.
    I then installed OCM (10.3.3.2.2) into the OMS_HOME in order to begin using the EM Harvester for all configuration uploads rather than multiple OCM installs. This went fine, and I began to see targets in MOS indicating GC as the data source rather than OCM. Good so far.
    I then installed PSU 11.2.0.1.3 to the infrastructure repository database. During the patch installation, OPatch re-installed OCM into the database ORACLE_HOME without my knowledge. This caused some targets to appear in MOS with OCM as the data source again. At this point I had two sets of OCM processes running. I've confirmed that the patch caused the OCM reinstall by checking the opatch logs from $ORACLE_HOME/cfgtoollogs, where I can see the fresh OCM install occur.
    I then installed patch 9431704 to the MW_HOME/oracle_common ORACLE_HOME to resolve the 'FMW Welcome Page Application' target showing down in Grid Control issue. The patch went fine, but OPatch again reinstalled OCM, this time to MW_HOME/oracle_common and MW_HOME/utils. So at this point I had four sets of OCM processes running, which caused many duplicate targets to appear in MOS, again with OCM as the data source. Confirmed yet again that the OPatch session led to the new OCM installs by reviewing the logs.
    I would like to exclusively use the EM Harvester to upload configuration details to MOS. Per the whitepaper in note 848962.1, "The only prerequisites for using an EMGC system to collect and upload configuration data to Oracle Support are that the EMGC OMS must be at least version 10.2.0.5, and there must be an OCM instance configured (and running in connected mode) in the Oracle Home of the OMS."
    So this leads to my question. How can I continue to patch OMS, the repository database, and the target databases, while preventing OPatch from reinstalling OCM in every ORACLE_HOME it finds?
    I understand that whitepaper's comment to mean that I only require OCM in the OMS_HOME and it should not run out of any other ORACLE_HOMEs in our environment. Should I simply allow OPatch to install OCM anywhere it wants, then pause them by running '$ORACLE_HOME/ccr/bin/emCCR hold'? Is there a flag I can include when running 'opatch apply' to tell it skip OCM installation?

    Thanks EricvdS, I think that will work. I plan to try it with my next PSU patch. It's not exactly what I wanted, since I'd prefer to avoid having OPatch installed at all (and thus have no ORACLE_OCM user and no OCM instrumentation in the database), and I believe the initial OPatch install will submit OCM data to MOS even before pausing it and setting it to disconnected mode, and I'd like to avoid that too.
    I also have the feeling that I may be able to skip the OPatch install by not providing my email address and MOS password or CSI number when applying patches. I'll try that too.

Maybe you are looking for