Issue: R12.2.0 installation failed with Cannot find oraInventory error on Linux
Trying local inventory in Oracle Home...
Cannot find oraInventory
Please create oraInst.loc in the proper directory for your operating system.
The contents should look like this:
inventory_loc=/oracle/oraInventory
where "/oracle/oraInventory" is the direcotry where the central inventory is to be located.
When I checked the oraInst.loc in the /etc location, it was not there. So, I have manually created.
In cases where the OraInventory is missing or otherwise corrupt, recreate the oraInventory directory on UNIX systems, using the following steps.
[root@Test]# vi /etc/oraInst.loc
inventory_loc=/oracle/product/oraInventory
inst_group=dba
Change the inventory location as the per your directory structure.
[root@Test]# ls -lrt /etc/oraInst.loc
-rw-r--r--. 1 root root 58 Dec 9 00:26 /etc/oraInst.loc
[root@Test]# chmod 644 /etc/oraInst.loc
[root@Test]# ls -lrt /etc/oraInst.loc
-rw-r--r--. 1 root root 58 Dec 9 00:26 /etc/oraInst.loc
Retry the R12 installation
Trying local inventory in Oracle Home...
Cannot find oraInventory
Please create oraInst.loc in the proper directory for your operating system.
The contents should look like this:
inventory_loc=/oracle/oraInventory
where "/oracle/oraInventory" is the direcotry where the central inventory is to be located.
When I checked the oraInst.loc in the /etc location, it was not there. So, I have manually created.
In cases where the OraInventory is missing or otherwise corrupt, recreate the oraInventory directory on UNIX systems, using the following steps.
[root@Test]# vi /etc/oraInst.loc
inventory_loc=/oracle/product/oraInventory
inst_group=dba
Change the inventory location as the per your directory structure.
[root@Test]# ls -lrt /etc/oraInst.loc
-rw-r--r--. 1 root root 58 Dec 9 00:26 /etc/oraInst.loc
[root@Test]# chmod 644 /etc/oraInst.loc
[root@Test]# ls -lrt /etc/oraInst.loc
-rw-r--r--. 1 root root 58 Dec 9 00:26 /etc/oraInst.loc
Retry the R12 installation