Errors “wrong ELF class: ELFCLASS32”, “expected signature 41503232 but saw 41503230” while starting Apache Server installed with WebGate

Today, one of my colleague was trying to install a WebGate on Apache 2.2 server in Linux 64 bit environment. WebGate was installed successfully, but the webserver is not coming up.

The error seen is:

[oracle@nic-tebmigr1a-ac bin]$ ./apachectl start
httpd: Syntax error on line 415 of /u01/apps/apache_WS/conf/httpd.conf: Cannot load /u01/apps/idmwebgate/access/oblix/lib/libstdc++.so.6 into server: /u01/apps/idmwebgate/access/oblix/lib/libstdc++.so.6: cannot open shared object file: No such file or directory

The GCC libraries were taken from Oracle Support site for 64-bit Linux environment and they are:

libgcc_s.so.1

libstdc++.so.6

We also searched for gcc libraries within linux OS itself and copied it to WebGate lib location $WEBGATE/access/oblix/lib and now it is a different error as shown below.

[oracle@nic-tebmigr1a-ac bin]$ ./apachectl start
httpd: Syntax error on line 422 of /u01/apps/apache_WS/conf/httpd.conf: API module structure ‘obWebgateModule’ in file /u01/apps/idmwebgate/access/oblix/apps/webgate/bin/webgate.so is garbled – expected signature 41503232 but saw 41503230 – perhaps this is not an Apache module DSO, or was compiled for a different Apache version?

So, is something predictable? A little of course, that is the version mismatch between WebGate and Apache. My guess was right, I found the apache version as 2.2 as shown below (execute the below command at $APACHE_HOME/bin) .

[oracle@nic-tebmigr1a-ac bin]$ ./apachectl -version
Server version: Apache/2.2.19 (Unix)
Server built:   Aug 29 2011 16:03:38
[oracle@nic-tebmigr1a-ac bin]$

WebGate version used is  Apache2, can be found either from WebGate installer or from np1014_wg.txt located under $WEBGATE/access/oblix/config

So, we downloaded the right version (Oracle_Access_Manager10_1_4_3_0_linux64_
APACHE22_WebGate)  and it worked very well!!!

Some helpful material:

Metalink note: 977042.1

About the Author Mahendra

I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc., Look @ my blog: http://talkidentity.blogspot.com

Leave a Comment:

Not found