cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wrong ELF class: ELFCLASS64 when loading libdtagent.so

ali_fetouni
Contributor

Hello!

When trying to load the libdtagent.so I get the following error message:

--------

16/03/04 17:46:51 Start process

--------

/u51/ar121/ATL09/inst/apps/ATL09_tlntatl15/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd

Syntax error on line 1165 of /u51/ar121/ATL09/inst/apps/ATL09_tlntatl15/ora/10.1.3/Apache/Apache/conf/httpd.conf:

Cannot load /opt/dynatrace-6.2/agent/lib64/libdtagent.so into server: /opt/dynatrace-6.2/agent/lib64/libdtagent.so: wrong ELF class: ELFCLASS64


The server running is an Oracle HTTP server (Apache) running under Linux. Does anyone have an idea on what to do?

3 REPLIES 3

r_weber
Pro

you are probably just loading the wrong architecture of the agent library (64bit instead of 32bit).

Please check if your httpd is indeed a 64bit version or a 32bit version by running httpd -V.

Certified Dynatrace Master, Dynatrace Partner - 360Performance.net

If the wrong version of the architecture is the actual problem. How does one start the correct version of the 32-but version?

in your apache config use the right path to the right library:

Instead of
/opt/dynatrace-6.2/agent/lib64/libdtagent.so

use
/opt/dynatrace-6.2/agent/lib/libdtagent.so

Certified Dynatrace Master, Dynatrace Partner - 360Performance.net