Looking for the location of oraInventory on a server? Want to know where it is? Read on.
There is a file, known to Oracle, which holds the location of the inventory. Of course, it isn’t in the same place on every server, but the ones I know of have it as follows:
- Linux:
/etc/oraInst.loc - HP-UX:
/var/opt/oracle/oraInst.loc - Windows: Registry at
HKLM/software/oracle/inst_loc
For any other Unix, you can find it (as the oracle or root user) with:
| |
Once you know where it lives, you can move it simply. The following example moves it from the current location, found in oraInst.loc to /opt/oracle/oraInventory:
| |
Job done! Although it might be wise to take a backup of the original location, just in case, and then delete it from the old location:
| |
And that it, all done.