You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Richard Adams <ch...@ASPATECH.COM.BR> on 2001/02/16 21:53:27 UTC

changing from mod_jserv -> mod_jk: Invalid command 'LoadModule'

I've tried to use mod_jk.so on my RedHat 6.2 linux with apache .14 but I
get this error:

************************************************************************
[root@atechapp bin]# ./apachectl start
Syntax error on line 8 of /packages/tomcat/conf/mod_jk.conf-auto:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module
not included in the server configuration
./apachectl start: httpd could not be started
************************************************************************

Here is what I did...anyone see something missing??

1.) Downloaded mod_jk.conf from jakarta site under Tomcat source(I know
I should build my own - but that is another story).

2.) I've included the mod_jk.conf-auto file at the end of httpd.conf -
here is where I load the module in the conf-auto file:


###################################################################
# The following line instructs Apache to load the jk module
#
LoadModule jk_module libexec/mod_jk.so

JkWorkersFile /packages/tomcat/conf/workers.properties
JkLogFile /packages/tomcat/logs/mod_jk.log

###################################################################

3.) I've moved the mod_jk.so to my httpd dir /etc/httpd/libexec.

question: The loadmodule command doesn't start from root...how does it
know where libexec is... is this related to APACHE_HOME variable???