Operating System - Linux
1832145 Members
2835 Online
110038 Solutions
New Discussion

mod_wl_22.so is garbled - perhaps this is not an Apache module DSO?

 
GnanaShekar
Regular Advisor

mod_wl_22.so is garbled - perhaps this is not an Apache module DSO?

Hi,

I am getting an error starting apache. Please suggest.

[root@bangpcrh212 bin]# more /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)

[root@bangpcrh212 bin]# uname -a
Linux bangpcrh212 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux

[root@bangpcrh212 bin]# pwd
/usr/local/apache2/bin

[root@bangpcrh212 bin]# ./apachectl start
Syntax error on line 1040 of /usr/local/apache2/conf/httpd.conf:
API module structure `weblogic_module' in file /usr/local/apache2/modules/mod_wl_22.so is garbled - perhaps this is not an Apache module DSO?

[root@bangpcrh212 bin]# file ../modules/mod_wl_22.so
../modules/mod_wl_22.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped

After googling a bit, I found that if my apache was built with EAPI, then I would not have this issue.

But I donot know how to build my apache with EAPI.

Please suggest,
Thanks & Regards.
3 REPLIES 3
ssvl
New Member

Re: mod_wl_22.so is garbled - perhaps this is not an Apache module DSO?

GnanaShekar
Regular Advisor

Re: mod_wl_22.so is garbled - perhaps this is not an Apache module DSO?

Thanks.

We now know that we are using a DSO module that was compiled with -DEAPI and using this on an Apache which is built with normal API.

Also we know that Apache2 includes mod_ssl and EAPI is part of mod_ssl.

But I donot know how to build apache2.0.59 with EAPI (i.e httpd -V should display -D EAPI if apache is built with EAPI).

Please suggest,
Thanks & Regards.



Heironimus
Honored Contributor

Re: mod_wl_22.so is garbled - perhaps this is not an Apache module DSO?

I believe EAPI problems only apply to Apache 1.x. 2.0 and later don't use it. Are you sure that the module was compiled against the same version of Apache that you are running?