Wednesday, 11 January 2012

Symlink requirement for UNIX servers (For oracle10g and 11g from PT848 and above)


Symlink requirement for UNIX servers (For oracle10g and 11g from PT848 and above)

A specific PeopleTools release is compatible with the Oracle database version it was released on, as well as any subsequent Oracle database version supported by PeopleTools. Out of the box, PeopleTools will work with Oracle 9i. However, for Oracle 10g and 11g a symlink is required (Note: This is not required for IBM AIX).
In Oracle 10g the Oracle shared library name is libclntsh.xx.10.1 and In Oracle 11g, the Oracle shared library name is libclntsh.xx.11.1 while PeopleTools looks for libclntsh.xx.9.0.
In order for Application Server to boot up and PSRUN.MAK to run successfully, a Unix symlink must be defined from libclntsh.xx.10.1 or libclntsh.xx.11.1 to libclntsh.xx.9.0 (Note: The '.xx' suffix is platform specific. Solaris, Linux, and HP-Itaniumuse '.so'; HP-PARISC uses '.sl'). To accomplish this:

1) Log in as the Oracle owner.
2) cd $ORACLE_HOME/lib
3) Depending on your platform, create the symlink:
a) For Oracle10g on Solaris, RH 4.0, SuSE 9.0, or HP-Itanium, execute the following command to establish the symlink:
ln -s $ORACLE_HOME/lib/libclntsh.so.10.1 libclntsh.so.9.0
b) For Oracle10g on HP-PARISC, execute the following command to establish the symlink:
ln -s $ORACLE_HOME/lib/libclntsh.sl.10.1 libclntsh.sl.9.0

a) For Oracle 11g on Solaris, RH 4.0 or HP-Itanium, execute the following command to establish the symlink:
ln -s $ORACLE_HOME/lib/libclntsh.so.11.1 libclntsh.so.9.0
b) For Oracle 11g on HP-PARISC, execute the following command to establish the symlink:
ln -s $ORACLE_HOME/lib/libclntsh.sl.11.1 libclntsh.sl.9.0
After the symlink is established, you may rerun PSRUN.MAK or boot up the Servers. manually.


To Remove the symlink simply use the command rm. 
1. Do ls -l to list the files that is created through symlink.  They  will have l in front of them:
lrwxrwxrwx   1 oracle   dba           48 Jul  7 13:48 libclntsh.so -> /ds2/oracle/11.1.0.7-64bit/lib/libclntsh.so.11.1
lrwxrwxrwx   1 oracle   dba           43 Nov  5 11:28 libclntsh.so.10.1 -> /ds2/oracle/11.1.0.7-64bit/lib/libclntsh.so
-rwxr-xr-x   1 oracle   dba            0 Nov  5 11:30 libclntsh.so.11.1
2. Issue rm command
 rm libclntsh.so
When u remove this symlink file, the original file stays.

No comments:

Post a Comment