Skip navigation
stigg
Currently Being Moderated

Apache cannot load mod_jk.so

Jun 8, 2012 3:52 PM

Tags: #tomcat #cf10

Wondering if anyone has bumped into this?

I did a vanilla install of cf10 on mac 10.5.8 on top of the mac-installed apache webserver (i.e. the one that comes stock with the OS, not a macports version or custom compile) ... a few vhosts are defined. cf9 is already installed and working peachy. Install goes fine but the 'switch to the web admin' stage fails and the webserver doesn't restart. Running an apache configtest barfs out the following;

 

Syntax error on line 509 of /private/etc/apache2/httpd.conf: Syntax error on line 2 of /private/etc/apache2/mod_jk.conf: Cannot load /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so into server: dlopen(/Applications/ColdFusion10/config/wsconfig/1/mod_jk.so, 10): no suitable image found.  Did find:\n\t/Applications/ColdFusion10/config/wsconfig/1/mod_jk.so: unknown required load command 0x80000022

 

Commenting out the httpd.conf include to mod_jk.conf allows the webserver to start up again.

I've read that the mac hack of apache webserver includes 'apxs' in a manner that won't compile correctly but I'm a bit out of my depth with the apache stuff. Any ideas would be really appreciated

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points