Monday, January 3, 2022

Detach Home from Oracle Inventory - 19c oracle database

 

Go to below location :

/u01/app/oracle/product/19.0.0/dbhome/oui/bin


[oracle@ip- bin]$

[oracle@ip- bin]$

[oracle@ip- bin]$ ./runInstaller -silent -detachhome -invPtrLoc /etc/oraInst.loc oracle_home="/u01/app/oracle/product/19.0.0/dbhome" ORACLE_HOME_NAME="OraDB19Home1"

Starting Oracle Universal Installer...


Checking swap space: must be greater than 500 MB.   Actual 699 MB    Passed

The inventory pointer is located at /etc/oraInst.loc

You can find the log of this install session at:

 /u01/app/oraInventory/logs/DetachHome2022-01-03_05-40-07PM.log

'DetachHome' was successful.

[oracle@ip- bin]$

[oracle@ip- bin]$

[oracle@ip- bin]$

[oracle@ip- bin]$

[oracle@ip- bin]$

[oracle@ip- bin]$ pwd

/u01/app/oracle/product/19.0.0/dbhome/oui/bin

[oracle@ip- bin]$

2 comments:

  1. Thanks Anurag!
    I have a DB running on a OH that is registered in a wrong inventory
    can I safely run
    "
    1 ) runInstaller -silent -detachhome ... from wrong invetory
    2) runInstaller -silent -attachhome ... to correct inventory
    "
    with DB running ?
    Will the instance be affected ?
    Paolo

    ReplyDelete

About the Author : Anurag Pandey | Database cloud Architect | Oracle | SQL Server | PostgreSQL | AI and Data Platform Enthusiast

Anurag Pandey is a Database Architect with expertise in Oracle, PostgreSQL, SQL Server, Linux, and enterprise database platforms and specializes in database architecture, performance tuning, high availability, disaster recovery, cloud modernization, and operational excellence. With extensive experience in enterprise-scale environments, Anurag is passionate about leveraging AI, automation, and modern data platforms to improve reliability, scalability, and business outcomes. He actively contributes to technical communities through knowledge sharing, architecture guidance, and thought leadership in database and data engineering domains.

Follow more articles at

Visit Blog

Wish you happy diwali 2026