Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anismohamed32
Partner - Contributor III
Partner - Contributor III

Error while connecting to Oracle Endpoint

The replicate server is installed on Linux and i am trying to connect to a oracle database as source which is on a different server. While testing the connection i am getting the attached error message. Kindly let me know the root cause of this.

1 Solution

Accepted Solutions
Madhavi_Konda
Support
Support

Hi,
On Linux systems, install Oracle Instant Client for Linux (x86-64) Version 11.2.0.3.0
and above.
In addition, if not already included in your system, you need to create a symbolic
link in the $Oracle_Home\lib directory. This link should be called libclntsh.so,
and should point to a specific version of this file.
For example, on an Oracle 12c client:
lrwxrwxrwx 1 oracle oracle 63 Oct 2 14:16 libclntsh.so ->
/u01/app/oracle/home/lib/libclntsh.so.12.1
Additionally, append the LD_LIBRARY_PATH environment variable to the Oracle lib
directory by copying the driver location to the site_arep_login.sh file as follows:
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_
PATH:/u01/app/oracle/home/lib/ > site_arep_login.sh

Thanks,
Madhavi

View solution in original post

2 Replies
Madhavi_Konda
Support
Support

Hi,
On Linux systems, install Oracle Instant Client for Linux (x86-64) Version 11.2.0.3.0
and above.
In addition, if not already included in your system, you need to create a symbolic
link in the $Oracle_Home\lib directory. This link should be called libclntsh.so,
and should point to a specific version of this file.
For example, on an Oracle 12c client:
lrwxrwxrwx 1 oracle oracle 63 Oct 2 14:16 libclntsh.so ->
/u01/app/oracle/home/lib/libclntsh.so.12.1
Additionally, append the LD_LIBRARY_PATH environment variable to the Oracle lib
directory by copying the driver location to the site_arep_login.sh file as follows:
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_
PATH:/u01/app/oracle/home/lib/ > site_arep_login.sh

Thanks,
Madhavi

Bill_Steinagle
Support
Support

Hi,

Thank you for the post to the QDI Forums. For the Linux Setup and connecting to Oracle Source you need to ensure the ODBCINST.ini and ODBC.ini files are updates properly and you can connect via using the UnixODBC sample Program isql connecting to the Datasource. To check the location of the ODBC installation and the variables to the ODBCINST and ODBC file you can run the odbcinst -j command from the ODBC bin directory. Make sure the path is correct and the libraries are defined correctly.

Thanks!

Bill