| 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