Search This Blog

Monday, 15 October 2012

Move oraInventory to another location.


because of the different reasons it is better to have oraInventory not under the system folders like:

/home/...
/usr/...

but if oraInventory was installed to the mentioned folders by mistake then we should move it.

Let say we plan move it from

/home/oracle/oraInventory

to

/u01/app/oraInventory

1. Log as root.
2. Copy the oraInventory to new location:
    cp -Rp /u01/app/oraInventory /u01/app/

2. Update /etc/oraInst.loc file with a new oraInventory location
     inventory_loc=/u01/app/oraInventory
 
3. Update /u01/app/oraInventory/oraInst.loc file with a new oraInventory location
     inventory_loc=/u01/app/oraInventory

4. Update $ORACLE/oraInst.loc file with a new oraInventory location
    inventory_loc=/u01/app/oraInventory

That is all!

No comments:

Post a Comment