Register the Oracle Central Inventory Location

After STA installation, register the Oracle central inventory location on the STA server to create an Oracle central inventory pointer file, /etc/oraInst.loc.

The pointer file allows the Oracle central inventory location and Oracle group to be known to all Oracle installers used on the server.

  1. On the STA server, open a terminal session. Log in as the Oracle user.
  2. Display the location, as follows.
    • If the Oracle central inventory has been registered, you can display the contents of the /etc/oraInst.loc pointer file. The location is defined by the inventory_loc parameter, and the Oracle group is defined by the inst_group parameter.

      For example:

      $ cat /etc/oraInst.loc
      inventory_loc=/opt/oracle/oraInventory
      inst_group=oinstall
      
    • If the Oracle central inventory has not been registered or the pointer file has been deleted, you can search for the Oracle central inventory, which has the directory name oraInventory. For example:

      $ find / -name oraInventory
      /opt/oracle/oraInventory
      
  3. Change to the Oracle central inventory directory. You specify this directory the first time an Oracle product is installed on the STA server. For example:
    $ cd /opt/oracle/oraInventory
    
  4. Switch to the root user. Run the registration script, located in that directory.
    # ./createCentralInventory.sh
    

    The Oracle central inventory location and the Oracle group and are now identified in the Oracle central inventory pointer file, /etc/oraInst.loc.