Oracle Inventory corrupted

We installed several QA systems (BI, GRS, Portal, ECC) with their ORACLE_HOME's within the same UNIX box but when SAP ask for each ORACLE_HOME's name and path's to install we mistakenly don't change the name and just the path so the only recognized installation in the inventory is the last one.
Because of the above the oracle opatch utility is getting the following error with all but with the last one. So we cannot do patching to this instances. Can any one suggest a solution to re-inventory all oracle home's with the proper names?
$ $ORACLE_HOME/OPatch/opatch lsinventory
Invoking OPatch 10.2.0.2.0
Oracle interim Patch Installer version 10.2.0.2.0
Copyright (c) 2005, Oracle Corporation.  All rights reserved..
Oracle Home       : /oracle/QR1/102_64
Central Inventory : /oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.2.0
OUI version       : 10.2.0.2.0
OUI location      : /oracle/QR1/102_64/oui
Log file location : /oracle/QR1/102_64/cfgtoollogs/opatch/opatch-2008_May_07_11-27-00-EDT_Wed.log
List of Homes on this system:
  Home name= OUIHome1, Location= "/oracle/QG1/102_64"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
   Oracle Home dir. path does not exist in Central Inventory
   Oracle Home is a symbolic link
   Oracle Home inventory is corrupted
LsInventory Session failed: OracleHomeInventory::load() gets null oracleHomeInfo
OPatch failed with error code 72

Just to let you know guy's, the problem is fixed now by following the next procedure.
Goal: For each Oracle/SAP database within the server use one
independent Central inventory (/oracle/<SID>/oraInventory)
Steps for each ORACLE_HOME installed
0. Rename the old oraInventory directory (just one time & optional)
1. Create one new oraInventory dir at /oracle/<SID>/oraInventory
2. Create one new oraInst.loc pointing at oraInventory created
3. Recreate the Central Inventory by running the runInstaller as
established in the metalink note Note:556834.1 step 4 and adding the
label -invPtrLoc pointing at the new oraInst.loc file location.
Basically the 3rd point looks like this.
$ ./runInstaller -silent -invPtrLoc /oracle/QP1/oraInst.loc ignoreSysPrereqs -attachHome ORACLE_HOME="/oracle/QP1/102_64" ORACLE_HOME_NAME="OUIHome1"
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
0: 108        /, /dev/hd4, -, rw,log=/dev/hd8, 0
One invalid entry
1: 112        /usr, /dev/hd2, -, rw,log=/dev/hd8, 0
One invalid entry
.... (lots of output here)
One invalid entry
The inventory pointer is located at /oracle/QP1/oraInst.loc
The inventory is located at /oracle/QP1/oraInventory
'AttachHome' was successful.
$ $ORACLE_HOME/OPatch/opatch lsinventory -invPtrLoc /oracle/QP1/oraInst.loc
Invoking OPatch 10.2.0.2.0
Oracle interim Patch Installer version 10.2.0.2.0
Copyright (c) 2005, Oracle Corporation.  All rights reserved..
Oracle Home       : /oracle/QP1/102_64
Central Inventory : /oracle/QP1/oraInventory
   from           : /oracle/QP1/oraInst.loc
OPatch version    : 10.2.0.2.0
OUI version       : 10.2.0.2.0
OUI location      : /oracle/QP1/102_64/oui
Log file location : /oracle/QP1/102_64/cfgtoollogs/opatch/opatch-2008_May_08_22-51-27-EDT_Thu.log
Lsinventory Output file location : /oracle/QP1/102_64/cfgtoollogs/opatch/lsinv/lsinventory-2008_May_08_22-51-27-EDT_Thu.txt
Installed Top-level Products (2):
Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 1                            10.2.0.2.0
There are 2 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
OPatch succeeded.
*Thanks again for your support.*
Eduardo.

Similar Messages

  • Corruption of Oracle Inventory by installing ADF runtime libraries?

    Hi,
    We are running OAS 10.1.2.2.0 on RedHat Enterprise Linux and I am deploying an ADF application from JDev 10.1.3.39.84.
    I downloaded the standalone installer for the adf runtime libraries installer from here:
    http://download.oracle.com/otn/java/jdeveloper/10132/extensions/adfinstaller.zip
    and installed it to our development server. I then deployed the ADF application and it seems to work just fine.
    Now I have requested that these libraries be installed to the production server but the Sys Admin has informed me that:
    "Your installation appears to have corrupted the 'Oracle Inventory' on the development server. This can affect upgrades, patching, etc."
    I have been asked to investigate if this is a known issue and what possible resolutions there might be for preserving/restoring the Oracle Inventory to enable continued maintenance of the servers.
    I have searched the forums and Metalink without success, so I am posting this query to see if anyone else can help me point me in the right direction.
    Thanks for any assistance.

    Hi,
    please file a service request with customer support. This way you have an analyst working with you to track down the issue. Because ADF libraries are copying jar files only and this is nothing you can re-do after wards, I would be surprised if it has anything to do with the Oracle inventory. However still it would be good to have customer support looking at this
    Frank

  • Patching 10gr2 RAC, Oracle inventory on a CFS

    I have 4-node HP-UX VCS5 Oracle10g RAC setup running in production environment. First time i am trying to apply latest patch bundle. I am trying to apply 10.2.0.4 patch set.
    I am getting the bellow error when i am applying the patch.
    "Central Invventory can't be shared, this is not supported"
    The ORACLE_BASE is on a cluster file system.
    To ignore this error and to proceed with patch installation, what steps we need to take ?
    Thank you.

    Hi,
    Looks like you have run into an always documented restriction which has now been enforced with the OUI in the 10.2.0.4 patchset.
    The documentation which mentioned that Shared Central Inventories are not recommended / supported is available at :
    http://download.oracle.com/docs/cd/B19306_01/em.102/b16227/oui6_cluster_environment.htm#BABGJAAF
    <Quote>
    The Oracle Inventory directory (oraInventory) stores an inventory of all software installed on the system. It is required by, and shared by, all Oracle software installations on a single system. The first time you install Oracle software on a system, Oracle Universal Installer prompts you to specify the path to this directory. If you are installing the software on a local file system, then Oracle recommends that you choose the following path:
    oracle_base/oraInventory
    If the Oracle base directory is on a cluster file system, or on an NFS file system on a NAS device, then you must specify a path for the Oracle Inventory directory on a local file system. The Oracle base directory must be on a local file system to enable all of the nodes to have separate inventories.
    Oracle Universal Installer creates the directory that you specify, and sets the correct owner, group, and permissions for it. You do not need to create it.
    <un-quote>
    What has changed with the 10.2.0.4 Installer is that Oracle now enforces this restriction. What I believe is that without this being enforced , there was a possibility of running into Central Inventory corruption issues when Clustered and Non-Clustered installs were being done on the same node.
    I also found this discussion on one of the Metalink threads which might be useful.
    Please contact Oracle Support prior to attempting these steps though.
    Quoting Oracle:
    It is not supported to have central inventory on a shared location. There was a bug.5009954 "OUI SHOULD ENFORCE SEPARATE CENTRAL INVENTORY LOCATIONS IN RAC" filled on this issue. This bug is fixed in 11.2. It is actually an OUI issue which doesn't perform a check to make sure that central inventory location is not on shared device.
    In order to fix the inventory, you can change the OH/oraInst.loc in the CRS home to point to a non-shared directory.
    Run <crs>/oui/bin/attachhome.sh -silent -local -cfs CRS=true -invPtrLoc <crs>/oraInst.loc on each of the nodes. Finally copy the oraInst.loc to the /etc/oraInst.loc.
    Vishwa

  • 'unable to find product oracle.swd.jre[1.3.1,1.6] in Oracle Inventory'

    Hi All,
    i am running the runInstaller for patch set 9.2.0.8 on AIX 5L Based Systems (64-Bit)
    after selecting the products.xml file and selecting the oracle home to update and then cllick Install
    i get the error 'unable to find product oracle.swd.jre[1.3.1,1.6] in Oracle Inventory'
    is it the issue of the version of oracle.swd.jre? can we skip the installation of this componenet?
    Kindly suggest
    Thanks
    SK

    Hi,
    Please see if these documents help.
    Note: 397745.1 - Error when installing Patch 2376472: "Unable to find product oracle.swd.jre "
    Note: 315842.1 - 'unable to find product oracle.swd.jre' Error During Agent Upgrade from 10.1.0.3 to 10.1.0.4
    Regards,
    Hussein

  • Unable to find product oracle.swd.jre[1.4.1, 9.9.9.] in Oracle Inventory

    I am trying to install Oracle 10g on Solaris 10 (SPARC) using the OUI and receive the following error towards the beginning of the install.
    unable to find product oracle.swd.jre[1.4.1, 9.9.9.] in Oracle Inventory
    Please respond if you have encountered this error and what you did to resolve it.
    Thanks

    Of course, thoroughly. Ok. Like I said, it surprising how often people don't check that, so we always ask first.
    Have you run into this error,
    or a similar one, before? No. Have installed 9.2 on several Solaris boxes without a problem, so have not directly seen this one.
    Do you have an applicable
    troubleshooting tips? I searched MetaLink on "unable to find product oracle.swd.jre" and got three hits. None are exactly your situation, but they might lead you to something. See notes 468150.1, 315842.1, and 397745.1.
    And this may be one requireing an SR.
    I suspect that the JRE
    location is not set properly. I

  • Unable to find product oracle.swd.jre[1.1.6, 1.1.7.27] in oracle inventory

    while installing workflow server 2.6 I got an error saying that "unable to find product oracle.swd.jre[1.1.6, 1.1.7.27] in oracle inventory"
    I tried installing it using oracle universal installer 2.2 but still it is giving the same error as above.
    so please help me.

    Thanks Allison for your help.
    I am installing wf server on windows 2000
    The other products installed in the same ORACLE_HOME are Oracle database 9i version 9.2.0.1.0
    I am not using any CD, but I have downloaded it from web and have the licence to use the software.
    I hope you can help me
    Janak

  • Item import to oracle inventory from legacy system

    Hi,
    We have a requirement where we need to import a very large number of items (close to 500,000) from a legacy system to oracle inventory.
    We are using oracle open interface for this. We have designed a temp table for this purpose in order to validate data before moving it to the oracle interface tables. The data to be migrated is present in a separate data base and we need to move this data to Oracle temp table.
    Can we use DB link to migrate this kind of data(in terms of volume)? Also what are the best practices that need to be followed while importing data to Oracle inventory? Is there any other way that this can be done?
    Please share your thoughts and suggestions on this
    Thanks
    AM

    Hi,
    Some times DB link will fail, Please create custom package and try to interface with legacy system for periodically fetching the data into your tables. If the data is bulk please use API instead of Interface tables.
    Thanks.

  • Query Related to Oracle Inventory

    I have to prepare a report in Oracle Inventory (R12) where I have to extract below fields
    1. Inventory Quantity Sold for previous days and weekly basis etc
    2. Quantity Physically on a shelf at a distribution center but commited to end customer
    3. Quantity transfeerd from one or more distribution center within distributor
    4. Quantity on order with manufacturer but not yet received
    5.Quantity Intransit (Intercompany Transfer to the location)
    But I am unable to derive those fields. Please help me to build the query to fetch those fields.

    should I remove those PGA configuration and make it manually for sort_area,hash_join and workarea policy?Well, it depends on your database.
    First, check statspack/awr and see if you are doing "disk sorts", and check your ratio of nested loop joins to hash joins:
    http://www.dba-oracle.com/t_viewing_cpu_ram_io_costs.htm
    Manual setting "alter session" commands, is, well, manual, and it would be best to let Oracle take care of it, IMHO.
    Hope this helps. . .
    Don Burleson
    Oracle Press author

  • HTS Number /Commodity Code in Oracle inventory

    Hi,
    I was trying to figure out, how HTS Number for US can be set up in Oracle Inventory. Any help pls?
    Thanks!

    Thanks Sandeep! But we also need to capture the country, Tariff code primary and secondary UOM's together with duty rates. Any suggestiong?
    You can assign multiple categories to an item.
    Define a category set to capture Commoddity codes.
    Define another category set to capture Country and then yet another one for Taxation info.
    You can also choose to merge these into one category with 4-5 segments if it makes logical sense.
    For secondary uom , use the secondary uom field on item master.
    Sandeep Gandhi

  • Oracle inventory location Help

    I am facing some issues with oracle inventory locatoin on a 2 node rac setup. The ORACLE_BASE in my .bash_profile is pointing to /u01/ mount point - which is a NFS mounted volume. clusterware installation went sucesful and now when i am trying to install 11g - it says, oracle inventory can not be on a shared volume and quits the installation.
    My oracle home directory is \home\oracle\.
    system has three mounted directories: /u01/ - /u02/ - /u03/.
    /u01/app/oracle/crs - clusterware
    /u01/app/oracle/product/11g/ - plan on installaing oracle 11g
    /etc/oraInst.log - has the inventory location.
    can somebody please suggest - what options do i have here? any input will be greatly appreciated.
    many thanks,
    shilpa

    Oracle Inventory can not store on Share location.
    http://kevinclosson.wordpress.com/2007/07/19/oracle11g-oracle-inventory-on-shared-storage-dont-bother-trying-to-install-11g-rac-that-way/

  • Report with bar codes for Oracle Inventory

    Hye!
    I have this sql: (reports 6i):
    select
    b.inventory_item_id,
    B.SEGMENT1,
    G.SCHEDULED_START_DATE,
    G.START_QUANTITY,
    T.WIP_ENTITY_NAME,
    '!'||to_char(T.WIP_ENTITY_ID)||'!' entity_id,
    xxx.max_revizie revizie
    from wip_ENTITIES t,
    MTL_SYSTEM_ITEMS_B B,
    WIP_DISCRETE_JOBS G,
    (select t.inventory_item_id item_id,max(t.revision) max_revizie
    from inv.mtl_item_revisions_b t
    where t.organization_id=87
    group by t.inventory_item_id) xxx
    WHERE T.PRIMARY_ITEM_ID=B.INVENTORY_ITEM_ID
    AND T.ORGANIZATION_ID=B.ORGANIZATION_ID
    AND T.WIP_ENTITY_ID=G.WIP_ENTITY_ID
    AND T.WIP_ENTITY_NAME BETWEEN :P_JOB_DELA AND :P_JOB_PANALA
    and xxx.item_id=b.inventory_item_id
    where entity_id is the bar code....
    What should i do to see the report in Oracle Inventory.... to see the bar codes???
    tnx

    tnx. i resolved the problem.
    now i have anoyher one:
    my report has a CF formula --- OLE2--- some file.doc (Word) (one page :))
    in reports 6i it works just fine...
    but in oracle apps i can only see the header and not the word doc....
    i tried to convert the doc to pdf (because i have pdf as output for my report...) but i still have the same problem....
    the word doc is a paramater :p_link : d:\scan\pag1.doc
    what should i do to see this in application....
    ???

  • Error in creating lot in oracle Inventory

    Hi,
    I am trying to create a lot in oracle inventory for an item. But when i try to create lot, I am getting following error.
    "Approval engine for transaction type oracle.apps.inv.lotCreate has failed with following error: ORA 20001 No rules are applicable to this transaction. At least one rule should be must apply to this transaction when value of attribute AT_LEAST_ONE_RULE_MUST_APPLY is true. Change approaval setup and retry. In Package EDR_PSIG_RULE procedure PSIG_RULE".
    I want to set value of attribute AT_LEAST_ONE_RULE_MUST_APPLY to false. Where can i do this?
    I have tried to do this with Oracle Inventory--->Setup : Transaction -----> Types.
    However i cant find oracle.apps.inv.lotCreate transaction type.
    Any pointer regarding the issue will be highly appreciated.
    Thanks,
    Rohit.

    I want to set value of attribute AT_LEAST_ONE_RULE_MUST_APPLY to false. Where can i do this? The steps are outlined in the following note:
    Note: 753003.1 - ORA-20001 Notification Error When Trying To Approve A Service Contract
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=753003.1

  • Creating Oracle Inventory Installation Step Does Not Finish and Hangs at 99% while installing Hyperion 11.1.1.4

    Hi Guys,
    Creating Oracle Inventory Installation Step Does Not Finish and Hangs at 99% while installing Hyperion 11.1.1.4.I'm running the installer from a local drive and also noticed that the uninstaller files are not created.The installer process has been running for 4+ hours.
    Any suggestions/tips?
    Thanks
    Manoj

    hi John,
    we left the installer running overnight, but the install process has still not completed.Also it has not created any uninstaller files under the following directory:
    E:\APPS\Hyperion\uninstall
    what could be the reason for that?
    Thanks.
    Manoj

  • URGENT, Creating the Oracle Inventory Group

    OS: 5.2
    DB:10g Rel 2
    Hello All,
    I am installing 10g on AIX.
    Per below link/document.
    Page 2-11 (Pre Installation Task)
    $ more /etc/oraInst.loc
    /etc/oraInst.loc: A file or directory in the path name does not exist.
    ** Creating the Oracle Inventory Group
    If the oraInst.loc file does not exist, then create the Oracle Inventory group by
    using the following procedure:
    1. Enter the following command:
    smitty security
    Choose the appropriate menu items to create the oinstall group.
    http://download-west.oracle.com/docs/cd/B19306_01/install.102/b19075.pdf
    But I alreday created oinstall group.
    Please note: we used oraabc instead of oracle.
    id oraabc
    uid=207(oraabc) gid=14(oinstall) groups=15(dba),16(oper)
    Do I still need to create the oraInst.loc file or its is a part of installation?
    DN

    As far I know oraInst.loc file is created during installation procedure.
    It consists of path to oracleInventory directory and installation group in your case - oinstall.
    I never installed Oracle on AIX but I belive installation is (allmost) the same as on Linux or Solaris.

  • Creating the Oracle Inventory Group, Urgent

    OS: 5.2
    DB:10g Rel 2
    Hello All,
    I am installing 10g on AIX.
    Per below link/document.
    Page 2-11 (Pre Installation Task)
    $ more /etc/oraInst.loc
    /etc/oraInst.loc: A file or directory in the path name does not exist.
    ** Creating the Oracle Inventory Group
    If the oraInst.loc file does not exist, then create the Oracle Inventory group by
    using the following procedure:
    1. Enter the following command:
    smitty security
    Choose the appropriate menu items to create the oinstall group.
    http://download-west.oracle.com/docs/cd/B19306_01/install.102/b19075.pdf
    But I alreday created oinstall group.
    Please note: we used oraabc instead of oracle.
    id oraabc
    uid=207(oraabc) gid=14(oinstall) groups=15(dba),16(oper)
    Do I still need to create the oraInst.loc file or its is a part of installation?
    DN

    It should be taken care of by the installer.
    on the same page, it says "When you install Oracle software on the system for the first time, Oracle Universal Installer creates the oraInst.loc file."

Maybe you are looking for

  • Is there a way to send and recieve text messages from my pc

    I want to be able to see the texts that come up on my phone with my PC because I do not always have my phone out. Is this possible. I know that mac's are able to get their imessages but can you do the same with a PC?

  • Connect to a 19" monitor (LG)

    Used L1920P monitor with my G4 Powermac. Easier for these eyes to read xls files and such. (15pin connector / analog) Recently purchased powerbook pro 2.2 ghz. Took DVI adaptor and plugged in. Now I'd like to have monitor display - where do I find th

  • IPhoto/aperture color print problem - want help

    I have used my Canon i9900 many times.  Suddenly, it will not properly print if I tell it to print on photo paper.  If I make it think it is "plain paper," the colors come out ok.  but if I set it to print on photo paper, the colors are very off.  An

  • Seperate tax accounts by business area

    Hi All,    I had created input n outut taxes and assigned clearing accounts for them, how to link these to a particular business area 'X' so that i can get these balance sheet accounts selected when i use  business area 'X' in the report. Thanx, srav

  • Invoice correction for debit & credit

    Dear Experts, I am doing debit correction with refernece to F2, this is working fine. But customer has already raised credit correction with reference to F2 & account postings gone wrong it is showing debit to company & credit to customer. To correct