Howto install Oracle client on LPAR2RRD / STOR2RRD in a Docker?

Hello.
I just created my LPAR2RRD / STOR2RRD in a Docker.
Now, i am trying to configure Oracle Databases withou success.

I added a Database Configuration and during "Connectio Test", it is being raised:
================================================================================
DB host network connection: TCP connection to 10.100.x.x:1526 is OK.
DB data test: 10.100.x.x
Command not found, is the instantclient version in variables below correct?

ORACLE_BASE: /opt/oracle
ORACLE_HOME: /opt/oracle/instantclient_18_5
LIBPATH(AIX):
LD_LIBRARY_PATH(Linux): /opt/oracle/instantclient_18_5:
================================================================================

I followed the procedures:
https://lpar2rrd.com/docker.php
https://lpar2rrd.com/OracleDB-performance-monitoring-install.php#OracleDB

I believe there is an error regarding Oracle Instant Client on Docker image - Alpine Linux
During a simple test trying to call "sqlplus", i got the error:

bash-5.0# /opt/oracle/instantclient_18_5/sqlplus
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: canonicalize_file_name: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: __dn_expand: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: getcontext: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: __res_nsearch: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: __dn_skipname: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: __finite: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: __res_nclose: symbol not found
Error relocating /usr/lib/instantclient/libclntsh.so.18.1: __res_ninit: symbol not found

================================================================================
Additional LOG:

cat /home/lpar2rrd/lpar2rrd/logs/error.log-oracledb

Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: canonicalize_file_name: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __dn_expand: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: getcontext: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __res_nsearch: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __dn_skipname: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __finite: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __res_nclose: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __res_ninit: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: canonicalize_file_name: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __dn_expand: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: getcontext: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __res_nsearch: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __dn_skipname: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __finite: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __res_nclose: symbol not found
Error relocating /opt/oracle/instantclient_18_5/libclntsh.so.18.1: __res_ninit: symbol not found
Tue Mar  2 10:57:40 2021: perflikeconf.json cannot be loaded POD /home/lpar2rrd/lpar2rrd/bin/oracleDB-json2rrd.pl:635 : No such file or directory
Tue Mar  2 10:57:40 2021: perflikeconf.json cannot be loaded POD /home/lpar2rrd/lpar2rrd/bin/oracleDB-json2rrd.pl:724 : No such file or directory
Use of uninitialized value $file in concatenation (.) or string at /home/lpar2rrd/lpar2rrd/bin/oracleDB-json2rrd.pl line 225.
Tue Mar  2 10:57:40 2021: Perf file for POD doesn't exist /home/lpar2rrd/lpar2rrd/bin/oracleDB-json2rrd.pl:229 : No such file or directory

================================================================================
Please, anyone with similar issue?
Any workaround or solution?

Thanks in advance.

Comments

Sign In or Register to comment.