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

2001-02-18 Thread Stephen Aras

I dual boot so I have to do this out of memory,considering I'm on my other
OS right now.

LoadModule looks right but here are a few things to ponder.

I kept my mod_jk.so in my TOMCAT_HOME/bin dir.  If that's I've thought about
moving it to where the other Apacche modules reside but haven't as of yet.

There is another module line you need in httpd.conf something like AddModule
blah/blah/mod_jk.c

I had a bitch of a time getting TomCat to work initially.  Some of the docs
contradict each other (cutting edge hazards I guess).

*tomcat start* worked better for me than *startup*

I'm only a chapter ahead of you, so I won't be much help past this.  Good
luck.

Regards,

Steve

p.s.

As you'll hear from this list "Read the docs".  I've found that passages I
did not understand on the first run thru come back to fully explain
difficulties I'm running into now.



-Original Message-
From: Chris Richard Adams [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 3: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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




changing from mod_jserv - mod_jk: Invalid command 'LoadModule'

2001-02-16 Thread Chris Richard Adams

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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]