Error "Wrong ELF Class ELFCLASS64" When Trying To Run NpAdmin.sh (Doc ID 960107.1)

Last updated on AUGUST 31, 2016

Applies to:

Oracle Communications IP Service Activator - Version 5.2.4 to 7.2.0 [Release 5.2 to 7.2]
Information in this document applies to any platform.
***Checked for relevance on 19-APR-2016***

Symptoms

When trying to use the npAdmin.sh script the user sees the following message:

$ ./npAdmin.sh get_version

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/oracle/product/10.2.0/Db_1/lib/libocijdbc10.so: ld.so.1: java: fatal:
/oracle/product/10.2.0/Db_1/lib/libocijdbc10.so: wrong ELF class: ELFCLASS64 (Possible cause:
architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at oracle.jdbc.driver.T2CConnection.loadNativeLibrary(T2CConnection.java:3013)
at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:228)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:142)
at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:79)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at
com.metasolv.serviceactivator.util.database.DatabaseConnectionPool.makeConnection(DatabaseConnection
Pool.java:295)
at
com.metasolv.serviceactivator.util.database.DatabaseConnectionPool.<init>(DatabaseConnectionPo
ol.java:59)
at
com.metasolv.serviceactivator.util.database.DatabaseConnectionManager.setup(DatabaseConnectionManage
r.java:188)
at
com.metasolv.serviceactivator.util.database.DatabaseConnectionManager.setup(DatabaseConnectionManage
r.java:165)
at
com.metasolv.serviceactivator.util.database.DatabaseConnectionManager.<init>(DatabaseConnectio
nManager.java:117)
at
com.metasolv.serviceactivator.util.database.DatabaseConnectionManager.initialize(DatabaseConnectionM
anager.java:67)
at
com.metasolv.serviceactivator.networkprocessor.admin.DeviceModelAdminHelper.initializeDBConnMgr(Devi
ceModelAdminHelper.java:83)
at
com.metasolv.serviceactivator.networkprocessor.admin.DeviceModelAdmin.runApp(DeviceModelAdmin.java:1
21)
at
com.metasolv.serviceactivator.networkprocessor.admin.DeviceModelAdmin.main(DeviceModelAdmin.java:102
)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms