What is Oracle
Inventory? ?
The Oracle Inventory
directory (oraInventory) stores an inventory
of all software installed on the
system.
It is required and shared by all Oracle software installations on a
single system.
If you have an existing Oracle Inventory path, then Oracle Universal
Installer continues to use that Oracle Inventory.
Note:
§ All Oracle software installations rely on this
directory.
Ensure that you back it up regularly.
§ Do not delete this directory unless you have
completely
removed all Oracle software from the system.
§ By default, the Oracle Inventory directory is
not installed under the oracle base directory. This is because all
Oracle software installations share a common Oracle Inventory, so there is only
one Oracle Inventory for all users. Whereas, there is a separate Oracle Base
for each user.
OraInst.loc
When you install Oracle software on the system for the first time,
Oracle Universal Installer creates the oraInst.loc file.
This file identifies:
§ the name of the Oracle Inventory group
(typically, oinstall),
§ and the path of the Oracle Inventory directory.
An oraInst.loc file has contents similar to the following:
inventory_loc=central_inventory_location
inst_group=group
where:
§ central_inventory_location is the location of
the Oracle Central Inventory,
§ and group is the name of the group that has
permissions to write to the central inventory.
To determine whether the oraInst.loc file exists, enter the
following command:
# more /etc/oraInst.loc
If the oraInst.loc file exists, then the output from this command
is similar to the following:
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
In the previous output example:
§ The inventory_loc group shows the location of
the Oracle Inventory
§ The inst_group parameter shows the name of the
Oracle Inventory group (in this example, oinstall).
Group
To determine if the Oracle Inventory group exist, enter the
following command:
grep oinstall /etc/group
If the oraInst.loc file does not exist, then create the Oracle
Inventory group by entering the following command:
/usr/sbin/groupadd oinstall
Log
The following are the default locations for supported operating
systems:
§ Linux and UNIX: USER_HOME/oraInventory/logs/
§ Windows: C:\\Program
Files\Oracle\Inventory\logs\
No comments:
Post a Comment