$httpd restart
Stopping httpd: [ OK ]
Starting httpd: httpd: Syntax error on line 200 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_jk.so into server: /etc/httpd/modules/mod_jk.so: wrong ELF class: ELFCLASS32
[FAILED]
To add the repo of mod_jk in cent os
1) cd /etc/yum.repos.d/
2) wget http://jpackage.org/jpackage.repo
3) Edit jpackage.repo and specify 'enabled=1' in the [jpackage-rhel] section
3) if you now do
# yum search mod_jk*
you'll get:
yum search mod_jk
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.hns.net.in
* extras: mirrors.hns.net.in
* jpackage-generic: ftp.heanet.ie
* jpackage-rhel: ftp.heanet.ie
* updates: mirror.nbrc.ac.in
jpackage-generic | 2.3 kB 00:00
jpackage-rhel | 2.3 kB 00:00
jpackage-rhel/primary_db | 4.7 kB 00:00
============================================================================ Matched: mod_jk ============================================================================
mod_jk-ap20.i386 : Tomcat mod_jk connector for Apache 2.0.x
mod_jk-debuginfo.i386 : Debug information for package mod_jk
mod_jk-manual.i386 : Tomcat mod_jk connector manual
mod_jk-tools.i386 : Analysis and report tools for mod_jk