Opatch error: Unable to lock Central Inventory

A) When applying Oracle one-off patches I get this error:
Unable to lock Central Inventory.  Stop trying per user-request?
OPatchSession cannot load inventory for the given Oracle Home /oracle/VRQ/102_64. Possible causes are:
   No read or write permission to ORACLE_HOME/.patch_storage
   Central Inventory is locked by another OUI instance
   No read permission to Central Inventory
   The lock file exists in ORACLE_HOME/.patch_storage
   The Oracle Home does not exist in Central Inventory
B) Researching the error, I find thes solutions...
This error may occur because of any one or more of the following reasons:
1. The ORACLE_HOME/.patch_storage may not have read/write permissions. Ensure that you give read/write permissions to this folder and apply the patch again.
2. There may be another Oracle Universal Installer instance running. Stop it and try applying the patch again.
3. The Central Inventory may not have read permission. Ensure that you give read permission to the Central Inventory and apply the patch again.
4. The ORACLE_HOME/.patch_storage directory might be locked. If this directory is locked, you will find a file named patch_locked inside this directory. This may be due to a previously failed installation of a patch. To remove the lock, restore the Oracle home and remove the patch_locked file from the ORACLE_HOME/.patch_storage directory. For more information on restoring the Oracle home, refer to section "Restoring Oracle Homes".
5. The Oracle home may not be present in the Central Inventory. This may be due to a corrupted or lost inventory or the inventory may not be registered in the Central Inventory. For more information, refer to section "Diagnosing and Recovering from Central Inventory Corruption".
C) Everyhing looks okay. What am I missing?
Oracle - 10.2.0.4
OS - AIX 6.1
Multiple database on the server: IPQ and VRQ
Thanks in advance.

Hi,
did you setup a seperate oraInventory for each of both instances as recommended?
Check the contents of oraInst.loc
(On Solaris in /var/opt/oracle, not sure if the same on AIX)
It should point to the Inventory Location.
May be yours is pointing to the other ORACLE_HOME-Inventory.
I tend to use the Inventory location
/oracle/SID/oraInventory, so each ORACLE_HOME has its
own non-mixed inventory.
But you have to keep in mind that oraInst.loc needs to be adjusted,
when you use runInstaller or OPatch !
Or is one ORACLE_HOME a binary copy of another?
A bianary copied ORACLE_HOME is non patchable at all, as far as I know.
In this case (beside this is not a supported SAP configuration), you need to
apply the patches to your copy-Source and do a re-copy.
There is a meatlink note describing how to use a cloned ORACLE_HOME,
but again: This is not supported within SAP!
Hope this helps
Volker

Similar Messages

  • System error: Unable to lock table/view V_T077K_M

    Hi,
    Not able to work on field selection (OMSG) i am getting an error "System error: Unable to lock table/view V_T077K_M" checked in SM 12 also, but dint get there anything.
    please cud you help me in this regard,

    contact your basis team,  there might be an overflow of the lock table because of mass changes from other users (even for other tables)

  • What does the error "Unable to lock the following files:" mean?

    What does the error "Unable to lock the following files:" mean? After the colon in this error message, a path to the .icml file is listed. We are using InDesign CS6 with InCopy CS6 (Mac), assignment-based workflow, on a shared server.
    Thanks,
    Gita M

    Sounds like a permissions issue on that server.
    Bob

  • Appraisals having error "Unable to lock action log, Please try again"

    Hi all,
    We have some appraisal issues wherein most of the appraisal docs under certain appraisers cannot be opened.  We are receiving error "Unable to lock action log, Please try again".  Would anyone have an idea where to look in order for us to fix this problem?

    Hi Maria,
    Are you able to resolve this issue ? If yes, can you share your findings and solution, please ? Thank you.
    Regards
    Kir Chern

  • Error Unable to lock your device in Muvo TxFm 1

    Hi,
    I have a muvo Tx Fm GB. during Firmware update?device
    Isshowing ERROR " Unable to lock your Device "?if any body know that how to remove this error, plz suggess......
    Dev Kumar

    Help please

  • Error - Unable to lock the record.

    Error - Unable to lock the record. Cause: The record is being modified by another user.
    Hi all,
    I encountered the error above after deleting a record from a table then clicking the next button(train). Please help.
    Thanks.
    Maeve

    the two most probable possible reasons for this error:
    1)When your program tried to delete the partiular record, somebody from back-end has deleted the record.
    2)Your program is not commiting after doing the transaction.
    Also,Check out this thread :
    Re: save button - Unable to perform transaction on the record. stale data,
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Opatch error 'Unable to parse the xml file'

    Hi there,
    I am new to installing patches on Oarcle and I need to install patch 12375678 on my windows system, Oracle 11.2.0.2.
    I have followed the instructions in the readme.txt file, but got this error and I have not come across anywhere on the web that explain how I could fix it.
    Could you please advise?
    Thanks
    C:\>set oracle_home=C:\oracle\product\11.2.0\dbhome_1
    C:\>echo %oracle_home%
    C:\oracle\product\11.2.0\dbhome_1
    C:\>cd C:\oracle\product\11.2.0\dbhome_1\inventory\oneoffs\12375678
    C:\oracle\product\11.2.0\dbhome_1\inventory\oneoffs\12375678>opatch apply
    Invoking OPatch 11.2.0.1.1
    Oracle Interim Patch Installer version 11.2.0.1.1
    Copyright (c) 2009, Oracle Corporation. All rights reserved.
    Oracle Home : C:\oracle\product\11.2.0\dbhome_1
    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 : C:\oracle\product\11.2.0\dbhome_1\oui
    Log file location : C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch2
    012-05-21_15-28-52PM.log
    Patch history file: C:\oracle\product\11.2.0\dbhome_1\cfgtoollogs\opatch\opatch_
    history.txt
    ApplySession applying interim patch '12375678' to OH 'C:\oracle\product\11.2.0\d
    bhome_1'
    Running prerequisite checks...
    OPatch detected non-cluster Oracle Home from the inventory and will patch the lo
    cal system only.
    Backing up files and inventory (not for auto-rollback) for the Oracle Home
    Backing up files affected by the patch '12375678' for restore. This might take a
    while...
    Backing up files affected by the patch '12375678' for rollback. This might take
    a while...
    Patching component oracle.rdbms, 11.2.0.2.0...
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\xml\xsl\kuexttbl.xsl"
    Patching component oracle.rdbms.dbscripts, 11.2.0.2.0...
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\prvtbpd.plb"
    Copying file to "C:\oracle\product\11.2.0\dbhome_1\rdbms\admin\prvtbpw.plb"
    ApplySession adding interim patch '12375678' to inventory
    Interim Patch metadata parsing failure... 'Unable to parse the xml file.'
    ApplySession failed: ApplySession failed in system modification phase... 'Unable
    to create patchObject'
    OPatch will attempt to restore the system...
    Restoring the Oracle Home...
    OPatch was able to restore your system. Look at log file and timestamp of each f
    ile to make sure your system is in the state prior to applying the patch.
    OPatch failed with error code = 73

    your actions.xml must not be able to be read.
    open it in notepad yourself to see does it open, if so its not corrupt, if doesnt open download patch again.
    More then likely will be fine so try locate the patch in a shorter home path, like c:\patches\12375678 and see does it install from there.
    Only other thing I can think of is the main inventory.xml, usually c:\program files\oracle\inventory\inventory.xml
    try notepad with that too.

  • New n200 Firmware - Error - Unable to Lock Dr

    I just downloaded the new firmware, but when I run it to upgrade my player I get an error message that says "Unable to Lock Dri've".
    I was able to upgrade to the last firmware version in January. What is going wrong?Message Edited by johnb02 on 02-25-2005 03:36 PM

    Anybody have a suggestion?

  • PDA error: Unable to lock memory chunk

    When I try an run a PDA build on my pocket PC I get the following error:
    "App failed. Error code 130437003. Unable to lock memory chunk."
    anyone have an idea of what this error refers to?

    Hello Jim77215,
    This kind of error has previously been reported when using a CF6004 and DAQmx Base.  If you are not using any of these products you may want to post more information about the PDA Operating System, Large Fonts Enabled, Localization (Non-English), Version of LV PDA, and model.
    If you are using DAQmx Base with the CF6004 try this work around.
    1) Force a recompile of your VI by holding the shift key and clicking the run arrow, and then try running it on the PDA.
    If this does not work and you are not using LV PDA 8.0.1 and DAQmx Base 2.0
    1) Close LabVIEW
    2) Go into the C:\Program Files\National Instruments\LabVIEW x.x\vi.lib directory and rename "_DAQmxBase" to "DAQmxBase" (remove the underscore at the beginning).
    3) Open a blank VI and copy all the DAQmx Base API VIs in your VI (Start, Stop, read, write, and is task done) to the block diagram. Either drag and drop them or use "Select a VI..." from the palette.
    4) Switch execution target to the PDA.
    5) Save the VIs and close LabVIEW
    6) Rename the "DAQmxBase" directory back to "_DAQmxBase"
    7) Run your program
    Steven T.

  • LabView PDA module gives error "unable to lock memory chunk"

    I've written a LabVIEW PDA Application that reads an ASCII decimal string through a PDA serial port. I can display the string ok, but when I try to convert the string to a number using the decimal string to number VI I get the error message "App failed. Error Code 172649003. Unable to lock memory chunk."
    Any ideas?
    Cheers, Paul
    Naval Surface Warfare Center - Carderock Division
    West Bethesda, MD

    Does this happen whenever you use the string to number VI (can you reproduce this in an empty VI)?
    Are you sure it happened because of that VI and not because of something else that is happening in the VI at the same time?
    Can you cut down pieces of the code and still get the error? Can you post a small example?
    Which PDA\LV are you using?
    Can you write some more details about your app (does it do anything else other than serial comm)?
    Try to take over the world!

  • System error: Unable to lock table/view ...

    Dear experts, 
    In a new system, when trying to execute some customizing in IMG, a message occured. Same issue exists for other customizing.
    And also when trying to download a note, another error happened.  I believe they could be the same issue.
    Did anyone know the resolution for these two issue?
    Thanks!

    Hi Gary,
    In your system issue with the Lock management.
    Kindly do the following step to identified the issue.
    1. Run the transaction SM12.
    2. Click on Extras tab,then select the Diagnosis option.
    3. Then output screen will be appear,it will display the result.
    Try to resolve the error as shown in result screen.
    Regards
    Yogesh Kumar

  • System error: Unable to lock table/view V_T077K

    Hi i am getting this error, i tried to look at the oss notes. Cannot find any solution. Pls clarify.
    Thanks, Sravan

    Hi I tried the sm12, whichever transaction i am trying acsess it is throughing the same error message, in sm12 i came with this error.
    he termination occurred in the ABAP program "SAPLSENT " in "ENQUEUE_READ"
    he main program was "RSENQTS6 ".
    he termination occurred in line 153 of the source code of the (Include)
    program "LSENTU17 "
    f the source code of program "LSENTU17 " (when calling the editor 1530).
    THanks for the help.
    S

  • Central Inventory does not exist

    Running rapidwiz for R12.1.1 new installation on Linux 5.5. No other Instances installed.
    File system checks errors with the following:
    Central Inventory does not exist. Skipping central inventory check...
    Trying local inventory in Oracle Home...
    Cannot find oraInventory

    I am installing this fresh. There is nothing else on the box. Why do I have to recreate something that was never created in the first place?You never mentioned this above, and installing R12 could be part of the upgrade (that's why I have posted the docs above).
    Some of those notes say reinstall Oracle. Is it supposed to create the oraInst.loc file in /etc when I start the installer?Yes it will.
    I found a note that say's by design in R12 you do not have to run root.sh to create the oraInst.loc file. So what creates it?
    Is there a file someplace that is hidden that say's the inventory is created so don't create it when rapidwiz runs? I've run this install a few times and deleted all the files created each time. Am I missing a file?Please check the installation log files for details about the error.
    Thanks,
    Hussein

  • 11gr2 silent install error - Unable to create a new central inventory direc

    I am working on SLES 11 SP2 on zLinux and I am trying to install oracle 11gr2 silently. I was able to install the GI and it is running but when I try to install the oracle binaries I keep getting this error:
    [FATAL] [INS-32035] Unable to create a new central inventory directory : /opt/oraInventory.
    CAUSE: The central inventory location provided is not empty.
    The GI install created /opt/oraInventory and all the files are in there. I even changed the owner from grid:oinstall to oracle:oinstall but that did not help. When I did the install on SLES 11 SP1 I did not get this error.
    I am running this command to install oracle: /runInstaller -silent -ignorePrereq -showProgress -waitForCompletion -responseFile /tmp/db_install.rsp
    drwxrwx--- 6 oracle oinstall 4096 Apr 2 10:42 oraInventory
    drwxrwx--- 2 oracle oinstall 4096 Apr 2 10:39 ContentsXML
    drwxrwx--- 3 oracle oinstall 4096 Apr 2 10:41 backup
    drwxrwx--- 2 oracle oinstall 4096 Apr 2 10:41 logs
    -rw-rw-r-- 1 oracle oinstall 52 Apr 2 10:41 oraInst.loc
    -rwxrwx--- 1 oracle oinstall 1650 Apr 2 10:41 orainstRoot.sh
    drwxrwx--- 2 oracle oinstall 4096 Apr 2 10:38 oui
    cat oraInst.loc
    inventory_loc=/opt/oraInventory
    inst_group=oinstall

    That was my last resort because the support is horrible. I am getting the same error during the GUI install also if that makes a difference. Its like the oracle install does not know about the Grid installed already in oraInventory.

  • Error message "Unable to lock resource channel ' BTS '"

    i have a solution which use Biztalk 2010 and Dynamic AX 2009. recently the Biztalk server always raise error:
    Error message "Unable to lock resource channel '<BTS>'".
    the Biztalk can not receive message from Dynamic AX and the message in queue of Dynamic AX also can not be sent out. what i know to do is that stop biztalk server and delete the lock data from Dynamic AX,then start biztalk server.
    what i want to know is why it happen? is it a Bug? how can i solve it?

    Hi,
    There is a hotfix available to fix this issue, which updates the AX BizTalk Adapter and Schema assemblies.
    If you are running Microsoft Dynamics AX 2009 RTM (Build v5.0.593.x), the fix is included in AX 2009 RTM Hotfix
    Rollup 4 Kernel.
    If you are running Microsoft Dynamics AX 2009 Service Pack 1 (Build v5.0.1000.52 or v5.0.1500.x), the fix is included in AX 2009 SP1 Hotfix
    Rollup 6 Kernel.
    NOTE: To
    check the version of the AX server version in use, find AX32SERV.EXE on your AOS servers, and chek the file properties.
    For detailed steps refer:
    https://social.msdn.microsoft.com/Forums/en-US/f4633ce4-7c77-402b-8b9c-6669ff392077/error-message-unable-to-lock-resource-channel-ax-channel-name?forum=biztalkr2adapters
    Rachit

Maybe you are looking for