tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael H. La Budde" <list.subscri...@prosoft-inc.com>
Subject RE: problems configuring tomcat/apache mod_jk.so
Date Wed, 21 Feb 2001 02:49:19 GMT
Do you have more than one apxs available? I seem to recall others having a 
problem if they were (inadvertently) using a different one. You must use 
the Apache version. Simplest might be to download and build the latest 
version of Apache. (This may fix your other problem, too!) Then make sure 
the mod_jk Makefile points to the correct version of apxs....

HTH,

Mike


At 2/20/2001 08:19 PM, you wrote:
>Hi,
>
>The instructions are for linux/unix like operating systems. Including
>Solaris.
>
>The instructions should work. Might as well try 'em.
>
>Regards,
>Adam.
>
>----
>Adam Fowler
>Second year Computer Science undergraduate
>University of Wales, Aberystwyth
>Carroll College, WI, USA(2000-2001)
>web: http://gucciboy.dyndns.org/aff9
>e-mail: adamfowler@chillin.co.uk
>"Every new beginning comes from some other beginning's end"
>----
>
>
>-----Original Message-----
>From: Jennifer Dyess [mailto:jennifer@squaretrade.com]
>Sent: Tuesday, February 20, 2001 7:25 PM
>To: tomcat-user@jakarta.apache.org
>Subject: RE: problems configuring tomcat/apache mod_jk.so
>
>
>I don't really understand what you're saying.
>
>I did compile mod_jk.so for solaris as per the instructions in
>http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html:
>(the instructions on your site were only for linux)
>
>apxs -o
>mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris
>-c *.c ../jk/*.c
>
>Which worked fine, no errors.
>
>I'm running solaris on intel, so you precompiled mod_jk.so will not work for
>me, but thanks anyway.
>
>So, has anyone have any clue why i'm getting the following when I run
>apachectl configtest:
>
>Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
>/usr/local/apache/bin/httpd: fatal: relocation error: file
>/usr/local/apache/libexec/mod_jk.so: symbol fdatasync: referenced symbol not
>found
>
>
>-----Original Message-----
>From: Adam Fowler [mailto:afowler@cc.edu]
>Sent: Tuesday, February 20, 2001 4:53 PM
>To: tomcat-user@jakarta.apache.org
>Subject: RE: problems configuring tomcat/apache mod_jk.so
>
>
>Hi,
>
>You don't need to compile it into apache to install mod_jk.so. Just compile
>it as per instructions on my site http://willow.cc.edu/docs/adminguide and
>move it to the libexec directory and do configs as normal.
>
>I have a pre-built copy of mod_jk.so for solaris in the downloads section of
>the above site. Just copy it to libexec and it should work.
>
>Whether apache is now hosed due to your compilation is another matter. If
>apxs saved a backup of the httpd daemon then you should be ok. Try locate
>httpd. If not then just get it from a tar.gz somewhere. I always make a
>point of backing up the config files and the httpd daemon before I compile
>things (frontpage extensions were a bit tempremental to install!)
>
>Hope it works 8o)
>
>Regards,
>Adam.
>
>----
>Adam Fowler
>Second year Computer Science undergraduate
>University of Wales, Aberystwyth
>Carroll College, WI, USA(2000-2001)
>web: http://gucciboy.dyndns.org/aff9
>e-mail: adamfowler@chillin.co.uk
>"Every new beginning comes from some other beginning's end"
>----
>
>
>-----Original Message-----
>From: Jennifer Dyess [mailto:jennifer@squaretrade.com]
>Sent: Tuesday, February 20, 2001 6:53 PM
>To: tomcat-user@jakarta.apache.org
>Subject: problems configuring tomcat/apache mod_jk.so
>
>
>I've followed the doc for compiling and configuring mod_jk.so.  Everything
>*seemed* to work fine.  I'm running solaris on intel, so I compiled
>mod_jk.so from source:
>
>apxs -o
>mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris
>-c *.c ../jk/*.c
>
>like I said, that seemed to work fine, no errors or anything.
>
>Then i copied the mod_jk.so to /usr/local/apache/libexec.
>
>Update httpd.confn as follows:
>
>#Load mod-jk - this is the Tomcat Apache plugin
>LoadModule    jk_module  libexec/mod_jk.so
>AddModule     mod_jk.c
>
>#Configure mod_jk
>JkWorkersFile /usr/local/jakarta-tomcat/conf/workers.properties
>JkLogFile     /usr/local/apache/logs/mod_jk.log
>JkLogLevel    warn
>
>JkMount /*.jsp ajp13
>JkMount /JspServlets/* ajp13
>
>
>But, when I run apachectl configtest, I get the following:
>
>Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1:
>/usr/local/apache/bin/httpd: fatal: relocation error: file
>/usr/local/apache/libexec/mod_jk.so: symbol fdatasync: referenced symbol not
>found
>
>I had mod_jserv installed previously and I believe i've removed all
>references to this.
>
>any suggestions?
>



Mime
View raw message