mod_was_ap22_http.so wrong ELF class: ELFCLASS32

I’m experimenting with running Apache on our servers instead of IBM HTTP Server. This could be an advantage in terms of security updates – if a particular security vulnerability is fixed in Apache, it is going to be much easier to apply it by typing yum update than going to the IBM site and downloading the latest update and then struggling through the WAS Update Installer.

Anyway, when trying this out, I got this error when starting Apache. This error is pretty straightforward :

Starting httpd: httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Cannot load /opt/WebSphere70/Plugin/bin/mod_was_ap22_http.so into server: /opt/WebSphere70/Plugin/bin/mod_was_ap22_http.so: wrong ELF class: ELFCLASS32

This simply means that the wrong version of the plugin is installed. I’m using 64 bit linux and 64 bit Apache, but the 32 bit version of the WAS Plugin. Reinstalling the 64 bit version made it work fine.

This entry was posted in tip and tagged , , . Bookmark the permalink.

2 Responses to mod_was_ap22_http.so wrong ELF class: ELFCLASS32

  1. HUGO says:

    HI,I am looking for the mod_was_ap22_http.so of 64 bit version .
    would u please send it to me by EMAIL.
    thx very much!

  2. Graham says:

    Hi Hugo,

    Sorry, I can’t send you the code. If you have a look on your WAS CDs you should be able to find the plugin subdirectory on one of those and a bit of hunting in there should yield the file.

    If you can’t find it then, try contacting your IBM rep.

    Cheers,

    Graham.

Leave a Reply

Your email address will not be published. Required fields are marked *