The Service Desk services will not start and gives an error "wrong ELF class: ELFCLASS64"

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

Description:

ServiceDesk stops functioning with the below messages in the logs:

  • 05/25 10:46:04.60 servername pdm_proctor_nxd 14826 SIGNIFICANT STDIO 0 ld.so.1: orcl_prov_nxd: fatal: /app/oracle/9.2.0/lib/libclntsh.so.10.1: wrong ELF class: ELFCLASS64

  • 05/25 10:46:04.60 servername proctor_svcdskdev 14835 SIGNIFICANT agt_slump_if.c 1105 Process stopped (/app/ahd/USPSD/bin/ddict_rd -t return: 0X0

  • 05/25 10:46:04.60 servername pdm_d_mgr 14826 SIGNIFICANT daemon_obj.c 1634 Transient process (ddict_rd:UNIX_ONLY) finished with return (0)

  • 05/25 10:46:04.61 servername pdm_proctor_nxd 14826 SIGNIFICANT STDIO 0 AHD50050: DB confirmation failed. Reason: AHD50060: Database check FAILED. ld.so.1: orcl_check_db: fatal: /app/oracle/9.2.0/lib/libclntsh.so.10.1: wrong ELF class: ELFCLASS64Killed

  • 05/25 10:46:04.61 servername pdm_proctor_nxd 14826 SIGNIFICANT STDIO 0 AHD50051: Server shutdown requested.

Solution:

The problem is occurring due to the error:
05/25 10:46:04.60 servername pdm_proctor_nxd 14826 SIGNIFICANT STDIO 0 ld.so.1: orcl_prov_nxd: fatal: /app/oracle/9.2.0/lib/libclntsh.so.10.1: wrong ELF class: ELFCLASS64

If you see the path mentioned in the error it is coming in from /app/oracle/9.2.0/lib. Service Desk is looking for 32 bit binaries but the library path is pointing towards a 64 bit.

To be able to successfully create a two tier connection to a 64-bit Oracle on a 64-bit Solaris machine, include Oracle 32-bit libraries in the PATH. The binaries are often located in the lib32 directory. For example: /opt/oracle/9.2.0/lib32 This path should be included in the LD_LIBRARY_PATH to make the two tier connection work in a 64-bit environment.

Also, verify the path is placed before the paths to other Oracle libraries. From the shell, could you try setting the below path and then recycle the Service Desk services.
LD_LIBRARY_PATH=/app/oracle/9.2.0/lib32:$LD_LIBRARY_PATH

You may also refer
http://download.oracle.com/docs/cd/E05554_01/books/AnyInConfig/AnyInConfigInstAnySteUNIX14.html