@Write at the beginning: after testing, this kind of problem occurs when centos8 installs Oracle 11g R2
@There will also be no response after lsnrctl start. After checking the lsnrctl file, it is found that the file is also 0kb
@It may be a compatibility problem. It is recommended to install Oracle help center with the system recommended by Oracle
1. Execute netca/silent/responsefile/data/Oracle/response/netca RSP error unsatisfiedlinkerror exception loading native library: njni11
[oracle@oracle ~]$ netca /silent /responsefile /datas/oracle/response/netca.rsp
UnsatisfiedLinkError exception loading native library: njni11
java.lang.UnsatisfiedLinkError: /datas/oracle/product/11.2.0/db_1/lib/libnjni11.so: /datas/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1: file too short
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)
at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
at oracle.net.ca.NetCA.main(NetCA.java:404)
Error: jniGetOracleHome
Oracle Net Services configuration failed. The exit code is 1
2. View/data/Oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1 documents found 0kb
3. Find libclntsh.so.11.1 fileĀ In the system (the installation information directory orainventory happens to exist)
find/-name libclntsh.so.11.1
4. Cover the damaged libclntsh.so.11.1 documents
cp /datas/oracle/product/11.2.0/db_1/inventory/backup/2021-04-27_02-37-24PM/Scripts/ext/lib/libclntsh.so.11.1 /datas/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
5. Execute the netca command again and solve the problem successfully
Similar Posts:
- [Solved] Opatch apply Run Error: OPatch failed with error code 73
- [Solved] CentOS Install Oracle19c Error: /lib//libclntsh.so: file format not recognized; treating as linker script
- Java calls sqlldr and reports an error: Message 2100 not found
- [Solved] Eclipse Startup Error: Cannot load 64-bit SWT libraries on 32-
- Solution to the problem of unable to load native Hadoop Library in MAC development
- [Solved] Message NNNN not found; No message file for product=network, facility=TNS
- Oracle ORA-12162: TNS:net service name is incorrectly specified
- [How to Solve] Hive: Unsupported major.minor version 51.0
- How to Solve Ora-01109 Error: database not open
- The Oracle File Attribute change causes the instance to fail to mount the Disk [How to Fix]