Disaster Recovery Test

Document ID : KB000007625
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

We failed over to our DR server from Production and the broker would not start.
First tried connecting to Oracle client libraries:
HServer | 20170212 04:55:42 | ERROR: [CAI/PT][ODBC Oracle Dynamic driver]Internal Error: ptOraDynlibInit() failed, returned -1
ptOraDynlibLastError() returned "dlopen("/r62dc10_oraex/app/oracle/product/11.2/client/lib/libclntsh.so",0X00000002) failed,
"/r62dc10_oraex/app/oracle/product/11.2/client/lib/libclntsh.so: wrong ELF class: ELFCLASS64""
SQLSTATE=0800

Next tried connecting to the Database binaries:
HServer | 20170507 06:13:53 | ERROR: E0302004d: Cannot connect to the datasource ooyhap06 as user ha06u .
HServer | 20170507 06:13:53 | ERROR: [CAI/PT][ODBC Oracle Dynamic driver]Internal Error: ptOraDynlibInit() failed, returned -1
ptOraDynlibLastError() returned "dlopen("/ooyhap06_oraex/app/oracle/product/11.2.0.4/lib/libclntsh.so",0X00000002) failed, "/ooyhap06_oraex/app/oracle/product/11.2.0.4/lib/libclntsh.so: wrong ELF class: ELFCLASS64""
SQLSTATE=08001

Resolution:

Customer was using incorrect 64bit level oracle client driver for 32bit harvest installation.