Thursday, August 7, 2025

Locking Unlocking oraInventory

 

Action
---------------------
Command
---------------------------------------------
Description
----------------------------------------
Find oraInventory path Check from oraInst.loc file:cat /etc/oraInst.loc Look for inventory_loc= Tells you where the oraInventory directory is located (e.g., /u01/app/oraInventory).
Check lock status ls -l $ORACLE_INVENTORY/locks/inventory.lck Checks if the lock file already exists. Replace $ORACLE_INVENTORY with the actual path.
Manually lock oraInventory touch $ORACLE_INVENTORY/locks/inventory.lck Creates the lock file manually to prevent concurrent OUI or patch operations.
Manually unlock oraInventory rm -f $ORACLE_INVENTORY/locks/inventory.lck Removes the lock file to release the lock (⚠️ only if no install/patch is running).
Check if Oracle install/patch process is running `ps -ef grep -i oraInst`
---------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment

Enable OpenSSH on Windows 11

Step 1: Install OpenSSH Server You can do this via PowerShell (run as Administrator ): Check if it's already available: Get-WindowsCapab...