Unable to execute sqlplus commande

1 post / 0 new
#1 Fri, 2018-01-05 16:43
bucket1
  • bucket1's picture
  • Offline
  • Last seen: 2 months 3 weeks ago
  • Joined: 2018-01-05

hi,

I just installed alpine 3.7 and i'm having some trouble installing sqlplus.

I unziped this instantclient :
instantclient-sqlplus-linux.x64-12.1.0.2.0.zip
instantclient-basic-linux.x64-12.1.0.2.0.zip
instantclient-sdk-linux.x64-12.1.0.2.0.zip

and set LD_LIBRARY_PATH, ORACLE_HOME and PATH

But when i try to exec sqlplus, i get this error :
-bash: /opt/oracle/instantclient_12_1/sqlplus: No such file or directory

First i thought i didn't have the right instantclient but according to these logs, i think it should be ok :

uname -a
Linux localhost 4.9.65-1-hardened #2-Alpine SMP Mon Nov 27 15:36:10 GMT 2017 x86_64 Linux
 
sqlplus
-bash: /opt/oracle/instantclient_12_1/sqlplus: No such file or directory
 
ls /opt/oracle/instantclient_12_1/
BASIC_README
SQLPLUS_README
adrci
genezi
glogin.sql
libclntsh.so.12.1
libclntshcore.so.12.1
libipc1.so
libmql1.so
libnnz12.so
libocci.so.12.1
libociei.so
libocijdbc12.so
libons.so
liboramysql12.so
libsqlplus.so
libsqlplusic.so
ojdbc6.jar
ojdbc7.jar
sdk
sqlplus
titi.sh
uidrvci
xstreams.jar
 
cat /opt/oracle/instantclient_12_1/SQLPLUS_README
SQLPLUS Package Information
===========================
 
Mon Jul  7 11:08:56 GMT 2014
 
Client Shared Library 64-bit - 12.1.0.2.0
 
System name:	Linux
Release:	2.6.18-238.0.0.0.1.el5xen
Version:	#1 SMP Tue Jan 4 09:38:01 EST 2011
Machine:	x86_64
 
Operating in ORACLE_HOME environment.
Small timezone file = /ade/b/2502491802/oracle/oracore/zoneinfo/timezone_18.dat
Large timezone file = /ade/b/2502491802/oracle/oracore/zoneinfo/timezlrg_18.dat

I'm on a linux x86_64 and my instantclient is x86_64.
I have no idea about what is wrong in my installation and i hope you can help me :).

Thx guys