Sunday, October 24, 2010

Exporting PATH setting

We have lot of confusion while we patching for upgradation process.

here i am giving some examples which i faced in my forms upgradation patchset19..

This is the normal path of $ORACLE_HOME in 11i
echo $ORACLE_HOME
/ebiz/testappl/testora/8.0.6


as per the need of upgradation we have to set this path to iAS server..

export ORACLE_HOME=/ebiz/testappl/testora/iAS/6iserver


Now you can check the exported path using Echo command.

echo $ORACLE_HOME
/ebiz/testappl/testora/iAS/6iserver


------------------------------------------------------------------------------

Like wise if we have to add iAS path in $PATH

echo $PATH
/ebiz/testappl/testora/iAS/Apache/perl/bin:/ebiz/testappl/testora/8.0.6/bin:
/ebiz/testappl/testappl/fnd/11.5.0/bin:/ebiz/testappl/testappl/ad/11.5.0/bin:
/ebiz/testappl/testcomn/util/java/1.4/j2sdk1.4.2_04/bin:
/ebiz/testappl/testcomn/util/unzip/unzip/unzip-5.50::
/ebiz/testappl/testora/8.0.6/bin:/usr/bin:/usr/ccs/bin:
/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:
/usr/X11R6/bin:/ebiz/testappl/bin

export PATH=$PATH:/ebiz/testappl/testora/iAS/6iserver/bin


echo $PATH
/ebiz/testappl/testora/iAS/Apache/perl/bin:/ebiz/testappl/testora/8.0.6/bin:
/ebiz/testappl/testappl/fnd/11.5.0/bin:/ebiz/testappl/testappl/ad/11.5.0/bin:
/ebiz/testappl/testcomn/util/java/1.4/j2sdk1.4.2_04/bin:
/ebiz/testappl/testcomn/util/unzip/unzip/unzip-5.50::
/ebiz/testappl/testora/8.0.6/bin:/usr/bin:/usr/ccs/bin:/usr/sbin:
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:
/ebiz/testappl/bin:/ebiz/testappl/testora/iAS/6iserver/bin


**in the above echo we can see the exported path


----------------------------------------------------------------------------

echo $LD_LIBRARY_PATH
/ebiz/testappl/testora/8.0.6/network/jre11/lib/i686/native_threads:
/ebiz/testappl/testora/8.0.6/network/jre11/lib/linux/native_threads:
/ebiz/testappl/testappl/cz/11.5.0/bin:/ebiz/testappl/testora/8.0.6/lib:
/usr/X11R6/lib:/usr/openwin/lib


export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ebiz/testappl/testora/iAS/6iserver
/lib



echo $LD_LIBRARY_PATH
/ebiz/testappl/testora/8.0.6/network/jre11/lib/i686/native_threads:
/ebiz/testappl/testora/8.0.6/network/jre11/lib/linux/native_threads:
/ebiz/testappl/testappl/cz/11.5.0/bin:/ebiz/testappl/testora/8.0.6/lib:
/usr/X11R6/lib:/usr/openwin/lib:[testappl@vmware:
/ebiz/testappl/testora/iAS/6iserver/lib



**in the above echo we can see the exported path



-----------------------------------------------------
Very important note is :

* This Export wont reflect in any other section
** Its just like a temporary setting if you use this in Putty.
*** After export we have to continue our task in the same window.

No comments:

Post a Comment