Helpful Oracle hints I've found and saved

How To Find An Existing ORACLE_HOME_NAME Value

If you've been tasked with uninstalling or upgrading an existing Oracle application, you might be doing it silently.

Well, one of the fields in the response file is "ORACLE_HOME_NAME".

How do you find the value of an old Oracle installation's Home Name?

Easy, go to the "oraInventory/ContentsXML/" directory.

An example:

My ORACLE_HOME Directory


My "oraInventory/ContentsXML" directory


When in the ContentsXML directory, view the "inventory.xml" file.

Mine looks like this:

<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2005 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<HOME NAME="Home1" LOC="/u01/app/oracle/product/9.2.0" TYPE="O" IDX="1"/>
<HOME NAME="Home1082" LOC="/u01/app/oracle/product/10.2.0" TYPE="O" IDX="2"/>

I hope that helps someone else.

Thanks to

2 Responses to “How To Find An Existing ORACLE_HOME_NAME Value”

  1. little-E says:

    Thanks, that helps a lot. Most of my google search results for ORACLE_HOME_NAME said to login as oracle and basically "echo $ORACLE_HOME_NAME", which is not set in my environment.

Leave a Reply

Powered by WordPress | Designed by Elegant Themes

Pin It on Pinterest

Share This