Unable to add mod_cluster to apache

I copied the .so files required for mod_cluster to modules directory and added below lines to httpd.conf. I have other modules that are loading correctly.

LoadModule slotmem_module modules/mod_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so

But i'm unable to start apache after adding above.

Starting httpd: httpd: Syntax error on line 202 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_slotmem.so into server: /etc/httpd/modules/mod_slotmem.so: wrong ELF class: ELFCLASS32
                                                           [FAILED]

Can you guys please help here?
crazy guyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BullockQA Engineer IIICommented:
Looks like an incompatibility between the .so files and Apache. Perhaps one is 32-bit and the other 64-bit or vice versa.
Double-check where you downloaded to get the version which matches your Apache.
0
crazy guyAuthor Commented:
I had download 64 bit .so files (mod_cluster-1.2.0.Final-linux2-x86-so.tar) of mod_cluster as my OS (Oracle Linux 6.6) is 64 bit. I don't see any incompatibility issue here.
0
Mark BullockQA Engineer IIICommented:
x86 means the 32-bit version.
Try downloading x64, 64-bit version, from here.
http://downloads.jboss.org/mod_cluster//1.2.0.Final/mod_cluster-1.2.0.Final-linux2-x64-ssl.tar.gz
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
crazy guyAuthor Commented:
Thank You. I thought x86 as 64 bit as x86_64 is considered as 64 bit. That resolved the issue.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.