Problem mit mod_jk

Apache, Lighttpd, nginx, Cherokee
Post Reply
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Problem mit mod_jk

Post 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
majortermi
Userprojekt
Userprojekt
Posts: 916
Joined: 2002-06-17 16:09
 

Re: Problem mit mod_jk

Post by majortermi »

Wahrscheinlich ist bei deinem Apache "mod_dir" nicht einkopiliert bzw. nicht geladen, welches von mod_jk aber benötigt wird.
Erst nachlesen, dann nachdenken, dann nachfragen... :)
Warum man sich an diese Reihenfolge halten sollte...
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Re: Problem mit mod_jk

Post by djgorilla »

LoadModule dir_module /usr/lib/apache/mod_dir.so

steht in der httpd config
majortermi
Userprojekt
Userprojekt
Posts: 916
Joined: 2002-06-17 16:09
 

Re: Problem mit mod_jk

Post by majortermi »

Ist auch die AddModule-Direktive vorhanden und wird mod_dir vor mod_jk geladen?
Erst nachlesen, dann nachdenken, dann nachfragen... :)
Warum man sich an diese Reihenfolge halten sollte...
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Re: Problem mit mod_jk

Post by djgorilla »

AddModule mod_dir.c

das mit dem laden ne ! kannste mal befehl herrücken ? :D
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Re: Problem mit mod_jk

Post 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 !
majortermi
Userprojekt
Userprojekt
Posts: 916
Joined: 2002-06-17 16:09
 

Re: Problem mit mod_jk

Post 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.
Erst nachlesen, dann nachdenken, dann nachfragen... :)
Warum man sich an diese Reihenfolge halten sollte...
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Re: Problem mit mod_jk

Post by djgorilla »

biste vielleicht per icq / irc zu erreichen ?
majortermi
Userprojekt
Userprojekt
Posts: 916
Joined: 2002-06-17 16:09
 

Re: Problem mit mod_jk

Post by majortermi »

djgorilla wrote:biste vielleicht per icq / irc zu erreichen ?
Nein, höchstens per Jabber (majortermi@tuxen.de), und das nur selten.
Erst nachlesen, dann nachdenken, dann nachfragen... :)
Warum man sich an diese Reihenfolge halten sollte...
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Re: Problem mit mod_jk

Post 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
djgorilla
Posts: 16
Joined: 2004-01-03 20:04
 

Re: Problem mit mod_jk

Post 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
oxygen
Posts: 2138
Joined: 2002-12-15 00:10
Location: Bergheim
 

Re: Problem mit mod_jk

Post by oxygen »

devel packete installieren, find apxs
majortermi
Userprojekt
Userprojekt
Posts: 916
Joined: 2002-06-17 16:09
 

Re: Problem mit mod_jk

Post by majortermi »

øxygen wrote:find apxs
Nein, nicht "find apxs" sondern "find / -name apxs".

Und dann bei configure "--with-apxs=/path/to/apxs" angeben.
Erst nachlesen, dann nachdenken, dann nachfragen... :)
Warum man sich an diese Reihenfolge halten sollte...
Post Reply