You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick <rs...@rematch.nl> on 2001/04/20 16:03:56 UTC
Re: New to user-mailing-list (mod_jk)
Ik didnt work !!!
I have been working for 1 hour to reinstall everything
this is what I did (after a clean red hat 7.0 install)
01: cd /tmp/apache1.3.19
02: ./configure --prefix=/usr/local/apache --enable-module=so
03: cd /tmp/php4.0.4
04:
./configure --with-mysql --with-apache=../apache1.3.19 --enable-track-vars
05: make
06:.make install
07: cd /tmp/apache1.3.19
08: ./configure --activate-module=src/modules/php4/libphp4.a
09: make
10: make install
11: cd /tmp/php4.0.4
12: cp php.ini-dist /usr/local/lib/php.ini
*** edit httpd.conf ***
13: AddType application/x-httpd-php .php
**** unzip/tar Tomcat to /usr/local/jakarta-tomcat ***
14: cd /usr/local/jakarta-tomcat/bin
**** edit tomcat to let tomcat know where the JDK is ***
15: ./startup.sh
**** copy mod_jk.so to /apache/libexec ***
*** edit httpd.conf ***
Include "/usr/local/jakarta-tomcat/conf/mod_jk.conf-auto"
16: cd /usr/local/apache/bin
17: ./apachectl start
the SAME error again
----------------------------------------------------------------------------
---------------------
Sytax error on line 8 of /usr/local/jakarta-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
----------------------------------------------------------------------------
---------------------
now I can completey start all over again...
does anybody know the configuration that does enable the use of LoadModule ?
rick
----- Original Message -----
From: "Wesselmann, Marcus" <Ma...@buw.de>
To: <to...@jakarta.apache.org>
Sent: Friday, April 20, 2001 2:54 PM
Subject: AW: New to user-mailing-list
Hi,
At compile-time you only have to use --enable-module=so
When Apache is compiled and installed you enable mod_jk with an appropiate
LoadModule entry in httpd.conf.
At least that worked fine for me :)
Regards,
Marcus
-----Ursprüngliche Nachricht-----
Von: Rick [mailto:rsteenbergen@rematch.nl]
Gesendet: Freitag, 20. April 2001 14:16
An: tomcat-user@jakarta.apache.org
Betreff: Re: New to user-mailing-list
sorry to bother you once more with the same question
but before I really configure apache (I might do something wrong, and let me
start all over again)
should I use: --enable-shared or --enable-module=so
in the configuration to enable me to use mod_jk.so
I read the documentation, but this talked about stuff Im not familiar
with...
regards
rick
Re: New to user-mailing-list (mod_jk)
Posted by Peter Hrastnik <pe...@1012surf.net>.
If these are really all steps you performed after a new install: Where
did you get the mod_jk.so from and if you compiled it yourself or
downloaded it: into which directory did you copy it? It seems (error
message) that apache cannot find the module.
Execute "strace /usr/sbin/httpd -X" to see which file apache tries to
open and/or follow the steps described in the mod_jk howto.
It worked perfectly for me without any problems on RedHat 6.2 with
apache 1.3.12 (php3 as shared lib) and a self-compiled mod_jk.so.
Bye,
Peter.
--
Mag. Peter Hrastnik
tele.ring Telekom Service GmbH
A-1030 Wien, Hainburgerstr. 33
Tel.: +43/1/931012-3277
Rick wrote:
>
> Ik didnt work !!!
>
> I have been working for 1 hour to reinstall everything
> this is what I did (after a clean red hat 7.0 install)
>
> 01: cd /tmp/apache1.3.19
> 02: ./configure --prefix=/usr/local/apache --enable-module=so
> 03: cd /tmp/php4.0.4
> 04:
> ./configure --with-mysql --with-apache=../apache1.3.19 --enable-track-vars
> 05: make
> 06:.make install
> 07: cd /tmp/apache1.3.19
> 08: ./configure --activate-module=src/modules/php4/libphp4.a
> 09: make
> 10: make install
> 11: cd /tmp/php4.0.4
> 12: cp php.ini-dist /usr/local/lib/php.ini
>
> *** edit httpd.conf ***
> 13: AddType application/x-httpd-php .php
>
> **** unzip/tar Tomcat to /usr/local/jakarta-tomcat ***
> 14: cd /usr/local/jakarta-tomcat/bin
>
> **** edit tomcat to let tomcat know where the JDK is ***
> 15: ./startup.sh
>
> **** copy mod_jk.so to /apache/libexec ***
> *** edit httpd.conf ***
> Include "/usr/local/jakarta-tomcat/conf/mod_jk.conf-auto"
>
> 16: cd /usr/local/apache/bin
> 17: ./apachectl start
>
> the SAME error again
> ----------------------------------------------------------------------------
> ---------------------
> Sytax error on line 8 of /usr/local/jakarta-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
> ----------------------------------------------------------------------------
> ---------------------
>
> now I can completey start all over again...
> does anybody know the configuration that does enable the use of LoadModule ?
>
> rick
>
> ----- Original Message -----
> From: "Wesselmann, Marcus" <Ma...@buw.de>
> To: <to...@jakarta.apache.org>
> Sent: Friday, April 20, 2001 2:54 PM
> Subject: AW: New to user-mailing-list
>
> Hi,
>
> At compile-time you only have to use --enable-module=so
>
> When Apache is compiled and installed you enable mod_jk with an appropiate
> LoadModule entry in httpd.conf.
>
> At least that worked fine for me :)
>
> Regards,
>
> Marcus
>
> -----Ursprüngliche Nachricht-----
> Von: Rick [mailto:rsteenbergen@rematch.nl]
> Gesendet: Freitag, 20. April 2001 14:16
> An: tomcat-user@jakarta.apache.org
> Betreff: Re: New to user-mailing-list
>
> sorry to bother you once more with the same question
> but before I really configure apache (I might do something wrong, and let me
> start all over again)
>
> should I use: --enable-shared or --enable-module=so
>
> in the configuration to enable me to use mod_jk.so
>
> I read the documentation, but this talked about stuff Im not familiar
> with...
>
> regards
> rick
Re: New to user-mailing-list (mod_jk)
Posted by Xiaofeng Chen <xc...@unlnotes01.unl.edu>.
I have a similar problem to yours. When I tried to connect tomcat with
apache, I got
'Sytax error on line 8 of /usr/local/jakarta-tomcat/conf/mod_jk.conf-auto:',
but the next line
says my mod_jk.so might be garbled. I am trying to recompile a mod_jk.so for
my RedHat6.1
to see if the new mod_jk.so will help. I downloaded the mod_jk.so from the
jakarta site, I don't
know why it doesn't work. Maybe something else.
----- Original Message -----
From: "Rick" <rs...@rematch.nl>
To: <to...@jakarta.apache.org>
Sent: Friday, April 20, 2001 9:03 AM
Subject: Re: New to user-mailing-list (mod_jk)
Ik didnt work !!!
I have been working for 1 hour to reinstall everything
this is what I did (after a clean red hat 7.0 install)
01: cd /tmp/apache1.3.19
02: ./configure --prefix=/usr/local/apache --enable-module=so
03: cd /tmp/php4.0.4
04:
./configure --with-mysql --with-apache=../apache1.3.19 --enable-track-vars
05: make
06:.make install
07: cd /tmp/apache1.3.19
08: ./configure --activate-module=src/modules/php4/libphp4.a
09: make
10: make install
11: cd /tmp/php4.0.4
12: cp php.ini-dist /usr/local/lib/php.ini
*** edit httpd.conf ***
13: AddType application/x-httpd-php .php
**** unzip/tar Tomcat to /usr/local/jakarta-tomcat ***
14: cd /usr/local/jakarta-tomcat/bin
**** edit tomcat to let tomcat know where the JDK is ***
15: ./startup.sh
**** copy mod_jk.so to /apache/libexec ***
*** edit httpd.conf ***
Include "/usr/local/jakarta-tomcat/conf/mod_jk.conf-auto"
16: cd /usr/local/apache/bin
17: ./apachectl start
the SAME error again
----------------------------------------------------------------------------
---------------------
Sytax error on line 8 of /usr/local/jakarta-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
----------------------------------------------------------------------------
---------------------
now I can completey start all over again...
does anybody know the configuration that does enable the use of LoadModule
?
rick
----- Original Message -----
From: "Wesselmann, Marcus" <Ma...@buw.de>
To: <to...@jakarta.apache.org>
Sent: Friday, April 20, 2001 2:54 PM
Subject: AW: New to user-mailing-list
Hi,
At compile-time you only have to use --enable-module=so
When Apache is compiled and installed you enable mod_jk with an appropiate
LoadModule entry in httpd.conf.
At least that worked fine for me :)
Regards,
Marcus
-----Ursprüngliche Nachricht-----
Von: Rick [mailto:rsteenbergen@rematch.nl]
Gesendet: Freitag, 20. April 2001 14:16
An: tomcat-user@jakarta.apache.org
Betreff: Re: New to user-mailing-list
sorry to bother you once more with the same question
but before I really configure apache (I might do something wrong, and let
me
start all over again)
should I use: --enable-shared or --enable-module=so
in the configuration to enable me to use mod_jk.so
I read the documentation, but this talked about stuff Im not familiar
with...
regards
rick