... fatal: libclntsh.so.10.1: open failed: No such file or directory"
- Article Type: General
- Product: Aleph
- Product Version: 18.01
Description:
We have a TWO_TASK setup. On our new production server (not active yet) we are trying to start the web server and the pc server and we are getting error messages:
ld.so.1: www_server_main: fatal: libclntsh.so.10.1: open failed: No such file or directory - thats for web
ld.so.1: pc_server_main: fatal: libclntsh.so.10.1: open failed: No such file or directory - thats for pc
Resolution:
The errors indicate that the www_server and pc_server were unable to find libclntsh.so.10.1.
On trainlms, libclntsh.so.10.1 is in the /aleph/app/oracle/product/10.2/lib32/ directory.
On alephap2, it is in /global/alephv18/aleph/app/oracle/product/102/lib32/ .
The LD_LIBRARY_PATH (defined in aleph_start) has "/aleph/app/oracle/product/10.2/lib32" which is the path for trainlms, but is *incorrect* for alephhap2.
You need to *add* /global/alephv18/aleph/app/oracle/product/102/lib32/ to the aleph_start LD_LIBRARY_PATH on alephap2.
On alephap2, I get:
alephap2-a18(1) >>cd $ORACLE_HOME
/aleph/app/oracle/product/10.2: No such file or directory.
So you also need to change in aleph_start :
setenv ORACLE_HOME ${ORACLE_BASE}/product/10.2
to:
setenv ORACLE_HOME ${ORACLE_BASE}/product/102
And then do "source aleph_start".
- Article last edited: 10/8/2013