libaio netca 出错解决

[oracle@shuorcl database]$ netca
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: /data/u01/app/oracle/product/11.2.0/db_1/lib/libnjni11.so: libaio.so.1: wrong ELF class: ELFCLASS64
java.lang.UnsatisfiedLinkError: jniGetOracleHome
    at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
    at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
    at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
    at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
解决方案

安装 

[root@shuorcl software]# rpm -ivh libaio-0.3.109-13.el7.i686.rpm
warning: libaio-0.3.109-13.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:libaio-0.3.109-13.el7            ################################# [100%]
[root@shuorcl software]# rpm -ivh libaio-devel-0.3.109-13.el7.i686.rpm
warning: libaio-devel-0.3.109-13.el7.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:libaio-devel-0.3.109-13.el7      ################################# [100%]
 

rpm下载地址

(146条消息) 解决netcalibao.so问题rpm资源-CSDN文库icon-default.png?t=N2N8https://download.csdn.net/download/hali999/87639993

你可能感兴趣的:(oracle,java,数据库)