Page 1 of 1

Problem mit mod_jk

Posted: 2004-01-03 20:06
by djgorilla
Cannot load /usr/lib/apache/mod_jk.so into server: /usr/lib/apache/mod_jk.so: undefined symbol: dir_module


// HTTP conf =

# Tomcat mit Apache verbinden über mod_jk
<IfModule !mod_jk.c>
LoadModule jk_module /usr/lib/apache/mod_jk.so
</IfModule>

JkWorkersFile "/home/p/planetpgz.de/files/tomcat/conf/jk/workers.properties"

JkLogFile "/home/p/planetpgz.de/files/tomcat/logs/mod_jk.log"

JkLogLevel debug

JkMount /examples ajp13
JkMount /examples/* ajp13

JkMount /jk ajp13
JkMount /jk/* ajp13

JkMount /cocoon ajp13
JkMount /cocoon/* ajp13

JkMount /servlet ajp13
JkMount /servlet/* ajp13

JkMount /*.jsp ajp13

Re: Problem mit mod_jk

Posted: 2004-01-03 20:20
by majortermi
Wahrscheinlich ist bei deinem Apache "mod_dir" nicht einkopiliert bzw. nicht geladen, welches von mod_jk aber benötigt wird.

Re: Problem mit mod_jk

Posted: 2004-01-03 20:24
by djgorilla
LoadModule dir_module /usr/lib/apache/mod_dir.so

steht in der httpd config

Re: Problem mit mod_jk

Posted: 2004-01-03 20:25
by majortermi
Ist auch die AddModule-Direktive vorhanden und wird mod_dir vor mod_jk geladen?

Re: Problem mit mod_jk

Posted: 2004-01-03 20:30
by djgorilla
AddModule mod_dir.c

das mit dem laden ne ! kannste mal befehl herrücken ? :D

Re: Problem mit mod_jk

Posted: 2004-01-03 20:33
by djgorilla
wollte die mod_jk neu compilieren da sagter = checking for rm... /bin/rm
checking for grep... /usr/bin/grep
checking for echo... /bin/echo
checking for sed... /usr/bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
checking for libtool... /usr/bin/libtool
no apxs given
checking for target platform... unix
no apache given
configure: error: Cannot find the WebServer


apache ist aber installiert !

Re: Problem mit mod_jk

Posted: 2004-01-03 20:38
by majortermi
Mit "laden" meinte ich die LoadModule bzw. AddModule Direktiven.

Das configure-Skript findet den Apache einfach nicht.
Ã?berprüfe mal, ob es eine Option --with-apxs oder --with-apache gibt.

Re: Problem mit mod_jk

Posted: 2004-01-03 20:46
by djgorilla
biste vielleicht per icq / irc zu erreichen ?

Re: Problem mit mod_jk

Posted: 2004-01-03 20:49
by majortermi
djgorilla wrote:biste vielleicht per icq / irc zu erreichen ?
Nein, höchstens per Jabber (majortermi@tuxen.de), und das nur selten.

Re: Problem mit mod_jk

Posted: 2004-01-03 20:50
by djgorilla
also mit den beiden optionen sagter auch nur =

need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
configure: error: Invalid location for apxs: 'yes'

2: apache =

checking for target platform... unix
checking for Apache source directory (assume static build)... configure: error: Directory is not a valid Apache source distribution

Re: Problem mit mod_jk

Posted: 2004-01-03 20:54
by djgorilla
gibts nen befehl den apache zu finden ? ich hab nur usr/lib/apache da sind die ganzen so dateien und /etc/httpd/ dort die ganzen configs

Re: Problem mit mod_jk

Posted: 2004-01-03 21:35
by oxygen
devel packete installieren, find apxs

Re: Problem mit mod_jk

Posted: 2004-01-04 14:28
by majortermi
øxygen wrote:find apxs
Nein, nicht "find apxs" sondern "find / -name apxs".

Und dann bei configure "--with-apxs=/path/to/apxs" angeben.