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 22:55:04 UTC

module not included in the server configuration??

OK.... to test, I've gone back to mod_jserv and I'm interestingly enough
geting the same error message:

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


ALL I AM DOING IS MOVING THE MOD_JSERV.SO OR MOD_JK TO THE
/ETC/HTTPD/LIBEXEC DIRECTORY.

Is there something else I need to do to "include in the server
configuration'??

Thanks!













> -----Original Message-----
> From: Chris Richard Adams 
> Sent: Friday, February 16, 2001 5:53 PM
> To: Tomcat-User (E-mail)
> Subject: 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???
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
>