This is a discussion on Apache mod_jk error within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi : I am trying to configure Apache 2.0.x version with mod_jk2. I have tried all the guides to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi :
I am trying to configure Apache 2.0.x version with mod_jk2. I have tried all the guides to install it. I have downloade many version of apache source and build them, even I have downloded the source for mod_jk2 and build it. OS : Linux But some how I am unable to over come this error Cannot load /apps/iev//apps/iev/apache2035/modules/mod_jk2.so into server: /apps/iev//apps/iev/apache2035/modules/mod_jk2.so: undefined symbol: apr_socket_send Can any one help me in what is missing. Or at least whech version of apache is compatible with right version of mod_jk Thanks Dheeraj |
|
|||
|
On 2004-09-30, Dheeraj Srivastava <timaaah@gmail.com> wrote:
> Cannot load /apps/iev//apps/iev/apache2035/modules/mod_jk2.so into I think you double-defined '/apps/iev/' in your LoadModule directive, not that this have a real impact but... > server: /apps/iev//apps/iev/apache2035/modules/mod_jk2.so: undefined > symbol: apr_socket_send AFAIK Apache 2 ships with an updated apr library, you need to specify the correct lib in the LD_LIBRARY_PATH of the user that starts Apache. > Can any one help me in what is missing. Or at least whech version of > apache is compatible with right version of mod_jk I had some trouble in having Apache 2 to play nice with mod_jk2, but in the end succeded. Davide -- It's ten o'clock. Do you know where your source code is? |
|
|||
|
Thanks a lot for replying.
I tried your trick and in my profile I add a line LD_LIBRARY_PATH=/apps/iev/webserver/lib But it doesn't bring any joy. I understand the some apr files needs to be loaded for apache. But what are they. If I am not mistaken they are apr.exp, aprutil.exp loaded at /apps/iev/webserver/lib Thanks Dheeraj Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<slrnclo48t.1ur.davideyeahsure@fogg.onlyforfu n.net>... > On 2004-09-30, Dheeraj Srivastava <timaaah@gmail.com> wrote: > > Cannot load /apps/iev//apps/iev/apache2035/modules/mod_jk2.so into > > I think you double-defined '/apps/iev/' in your LoadModule directive, > not that this have a real impact but... > > > server: /apps/iev//apps/iev/apache2035/modules/mod_jk2.so: undefined > > symbol: apr_socket_send > > AFAIK Apache 2 ships with an updated apr library, you need to specify > the correct lib in the LD_LIBRARY_PATH of the user that starts Apache. > > > Can any one help me in what is missing. Or at least whech version of > > apache is compatible with right version of mod_jk > > I had some trouble in having Apache 2 to play nice with mod_jk2, but > in the end succeded. > > Davide |
|
|||
|
On 2004-10-01, Dheeraj Srivastava <timaaah@gmail.com> wrote:
> I tried your trick and in my profile > I add a line LD_LIBRARY_PATH=/apps/iev/webserver/lib > But it doesn't bring any joy. Another option is that you compiled mod_jk2 against the wrong APR libary, as I said, Apache ship his own. Maybe you should recompile mod_jk using Apache's apr library instead of the system's libs. Davide -- Windows is a pane in the ASCII. |
|
|||
|
I am using the following scripts to configure and make
export CPPFLAGS="-I/apps/iev/apache/httpd-2.0.48/include" ../configure --with-apxs2=/apps/iev/apache2048/bin/apxs \ --with-apache2=/apps/iev/apache2048 \ --with-apr=/apps/iev/apache/httpd-2.0.48/srclib/apr \ --with-apr-include=/apps/iev/apache/httpd-2.0.48/srclib/apr/include \ --with-apr-lib=/apps/iev/apache2048/lib \ --with-tomcat41=/apps/iev/jboss-3.2.0RC2_tomcat.4.1.18/tomcat-4.1.x \ --with-java-home=/apps/partnercenter/wasbase/java \ --with-jni \ --enable-module=so \ --with-pcre And after this .... make > libtool --finish /apps/iev/apache/httpd-2.0.48/modules. All this mubo jumbo produces the mod_jk2.so files. And after moving to the mdoules dir of the apache, if I try to run I get the message httpd: module "../../server/apache2/mod_jk2.c" is not compatible with this version of Apache (found 20020628, need 20020903). Please contact the vendor for the correct version. To me it looks as if it is making mod_jk2.so for the apache1.x rather than for apache2.x. Can you please help me with this. Thx dheeraj -------------------------------------------------------------------------------- Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<slrnclq1cn.1j8.davideyeahsure@fogg.onlyforfu n.net>... > On 2004-10-01, Dheeraj Srivastava <timaaah@gmail.com> wrote: > > I tried your trick and in my profile > > I add a line LD_LIBRARY_PATH=/apps/iev/webserver/lib > > But it doesn't bring any joy. > > Another option is that you compiled mod_jk2 against the wrong APR > libary, as I said, Apache ship his own. Maybe you should recompile > mod_jk using Apache's apr library instead of the system's libs. > > Davide |
|
|||
|
Hi
I export the LD_LIBRARY_PATH as below: export LD_LIBRARY_PATH=/home2/sh3dsk/amit/TC5/apr-util-9.4/lib/:$LD_LIBRARY_PATH I have compiled successfully mod_jk2.so for stronghold apache 3 with apache version 1.3 running on solaris 2.6. It works like a dream. Let me know if u need anything on this. best regards amit kaushal amit@billdesk.com timaaah@gmail.com (Dheeraj Srivastava) wrote in message news:<6956a810.0410110307.2341c9f5@posting.google. com>... > I am using the following scripts to configure and make > > export CPPFLAGS="-I/apps/iev/apache/httpd-2.0.48/include" > > > ./configure --with-apxs2=/apps/iev/apache2048/bin/apxs \ > --with-apache2=/apps/iev/apache2048 \ > --with-apr=/apps/iev/apache/httpd-2.0.48/srclib/apr \ > --with-apr-include=/apps/iev/apache/httpd-2.0.48/srclib/apr/include \ > --with-apr-lib=/apps/iev/apache2048/lib \ > --with-tomcat41=/apps/iev/jboss-3.2.0RC2_tomcat.4.1.18/tomcat-4.1.x \ > --with-java-home=/apps/partnercenter/wasbase/java \ > --with-jni \ > --enable-module=so \ > --with-pcre > > And after this .... > make > > > libtool --finish /apps/iev/apache/httpd-2.0.48/modules. > > All this mubo jumbo produces the mod_jk2.so files. And after moving to > the mdoules dir of the apache, if I try to run I get the message > > httpd: module "../../server/apache2/mod_jk2.c" is not compatible with > this version of Apache (found 20020628, need 20020903). > Please contact the vendor for the correct version. > > To me it looks as if it is making mod_jk2.so for the apache1.x rather > than for apache2.x. > > Can you please help me with this. > Thx > dheeraj > > > > > > > -------------------------------------------------------------------------------- > Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<slrnclq1cn.1j8.davideyeahsure@fogg.onlyforfu n.net>... > > On 2004-10-01, Dheeraj Srivastava <timaaah@gmail.com> wrote: > > > I tried your trick and in my profile > > > I add a line LD_LIBRARY_PATH=/apps/iev/webserver/lib > > > But it doesn't bring any joy. > > > > Another option is that you compiled mod_jk2 against the wrong APR > > libary, as I said, Apache ship his own. Maybe you should recompile > > mod_jk using Apache's apr library instead of the system's libs. > > > > Davide |