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.
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
-
Hi,it seems to be a problem of Alpine Linux, check this thread: https://github.com/asg1612/alpine-oracle-instantclient/issues/1We cannot do here too much
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle