mod_jk with httpd & tomcat
I am trying to get mod_jk to work with apache 2.0.55 and get this error on the load module: Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: referenced symbol not found I have looked everywhere, and have been advised to recompile apache, which I have done successfully a few times. This is how I have recompiled: ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" make make install I use "make clean" between attempts..Ihave tried withou the "SHARED_CORE" and without the --enable-so because --enable-mods-shared=all should cover that. Still no luck. I am using Solaris 9. Here is some diag info: [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d /usr/local/apache2/modules/mod_jk.so libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 =>/usr/lib/libdl.so.1 symbol not found: ap_server_root (/usr/local/apache2/modules/mod_jk.so) symbol not found: ap_null_cleanup (/usr/local/apache2/modules/mod_jk.so) symbol not found: dir_module (/usr/local/apache2/modules/mod_jk.so) /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V Server version: Apache/2.0.55 Server built: Jan 23 2006 13:17:34 Server's Module Magic Number: 20020903:11 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FCNTL_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v Server version: Apache/2.0.55 Server built: Jan 23 2006 13:17:34 Please advise as to what info would be helpful in determining the root cause. Thanks for your help, Greg - What are the most popular cars? Find out at Yahoo! Autos
Re: mod_jk with httpd & tomcat
I am using Tomcat 5.0.28 BTW. G. Greg Bobak <[EMAIL PROTECTED]> wrote: I am trying to get mod_jk to work with apache 2.0.55 and get this error on the load module: Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: referenced symbol not found I have looked everywhere, and have been advised to recompile apache, which I have done successfully a few times. This is how I have recompiled: ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" make make install I use "make clean" between attempts..Ihave tried withou the "SHARED_CORE" and without the --enable-so because --enable-mods-shared=all should cover that. Still no luck. I am using Solaris 9. Here is some diag info: [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d /usr/local/apache2/modules/mod_jk.so libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 =>/usr/lib/libdl.so.1 symbol not found: ap_server_root (/usr/local/apache2/modules/mod_jk.so) symbol not found: ap_null_cleanup (/usr/local/apache2/modules/mod_jk.so) symbol not found: dir_module (/usr/local/apache2/modules/mod_jk.so) /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V Server version: Apache/2.0.55 Server built: Jan 23 2006 13:17:34 Server's Module Magic Number: 20020903:11 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FCNTL_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v Server version: Apache/2.0.55 Server built: Jan 23 2006 13:17:34 Please advise as to what info would be helpful in determining the root cause. Thanks for your help, Greg - What are the most popular cars? Find out at Yahoo! Autos - What are the most popular cars? Find out at Yahoo! Autos
Re: mod_jk with httpd & tomcat
I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: I am using Tomcat 5.0.28 BTW. G. Greg Bobak <[EMAIL PROTECTED]> wrote: I am trying to get mod_jk to work with apache 2.0.55 and get this error on the load module: Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: relocation error: file /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: referenced symbol not found I have looked everywhere, and have been advised to recompile apache, which I have done successfully a few times. This is how I have recompiled: ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" make make install I use "make clean" between attempts..Ihave tried withou the "SHARED_CORE" and without the --enable-so because --enable-mods-shared=all should cover that. Still no luck. I am using Solaris 9. Here is some diag info: [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d /usr/local/apache2/modules/mod_jk.so libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 =>/usr/lib/libdl.so.1 symbol not found: ap_server_root (/usr/local/apache2/modules/mod_jk.so) symbol not found: ap_null_cleanup (/usr/local/apache2/modules/mod_jk.so) symbol not found: dir_module (/usr/local/apache2/modules/mod_jk.so) /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V Server version: Apache/2.0.55 Server built: Jan 23 2006 13:17:34 Server's Module Magic Number: 20020903:11 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FCNTL_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2" -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v Server version: Apache/2.0.55 Server built: Jan 23 2006 13:17:34 Please advise as to what info would be helpful in determining the root cause. Thanks for your help, Greg - What are the most popular cars? Find out at Yahoo! Autos - What are the most popular cars? Find out at Yahoo! Autos -- Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk with httpd & tomcat
Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff <[EMAIL PROTECTED]> wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: > referenced symbol not found > > > I have looked everywhere, and have been advised to recompile apache, > which I have done successfully a few times. This is how I have > recompiled: > > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --enable-proxy --enable-proxy-connect --enable-proxy-ftp > --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" > > make > > make install > > I use "make clean" between attempts..Ihave tried withou the > "SHARED_CORE" and without the --enable-so because > --enable-mods-shared=all should cover that. Still no luck. > > I am using Solaris 9. Here is some diag info: > > [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d > /usr/local/apache2/modules/mod_jk.so > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 =>/usr/lib/libdl.so.1 > symbol not found: ap_server_root > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: ap_null_cleanup > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: dir_module > (/usr/local/apache2/modules/mod_jk.so) > /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > Server's Module Magic Number: 20020903:11 > Architecture: 32-bit > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_FCNTL_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D HTTPD_ROOT="/usr/local/apache2" > -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" > -D DEFAULT_PIDLOG="logs/httpd.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="logs/accept.lock" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > > > Please advise as to what info would be helpful in determining the root > cause. > > Thanks for your help, > Greg > > > > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > -- Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP.
RE: mod_jk with httpd & tomcat
Hi, I don't think the issue is with tomcat (the connector is built independently, so I would concentrate on the mod_jk (binary or building of it) and it's interaction with apache. I recently built mod_jk (v 1.2.15) on sol8 from source, from my notes I had the following: cd jakarta-tomcat-connectors-1.2.15-src/jk/native ./configure --with-java-home=/usr/jdk1.5.0_06 --with-apxs=/usr/local/apache/apache_2.0.54/bin/apxs I also remember noting that it might be necessary to build mod_jk on the same server on which apache was built. There were references to apache source during the mod_jk build (as opposed to just the installed instance): saw the following: (APRINCLUDEDIR is -I/export/home/kchong/httpd-2.0.54/srclib/apr/include -I/export/home/kchong/httpd-2.0.54/srclib/apr-util/include) Hope this helps. -Original Message- From: Greg Bobak [mailto:[EMAIL PROTECTED] Sent: Tuesday, 24 January 2006 7:42 AM To: Tomcat Users List Subject: Re: mod_jk with httpd & tomcat Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff <[EMAIL PROTECTED]> wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: > referenced symbol not found > > - Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP. www.about.sensis.com.au A leading Australian advertising, information and directories business. www.sensis.com.au www.yellowpages.com.au www.whitepages.com.au www.citysearch.com.au www.whereis.com.au www.telstra.com.au www.tradingpost.com.au www.universalpublishers.com.au www.invizage.com.au This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged. Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email. If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: mod_jk with httpd & tomcat
Yeh, I remember getting that too and I too had the right path, but just could not get it to work. Must be some environment variable like LD_LIBRARY_PATH on sun boxes or some unresolved piece of extraneous information. When you compile it into apache, that problem does not exist as it becomes part of the apache build. I do remember I had to run a configure script to make it all work...Getting old is not fun Greg Bobak wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff <[EMAIL PROTECTED]> wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: > referenced symbol not found > > > I have looked everywhere, and have been advised to recompile apache, > which I have done successfully a few times. This is how I have > recompiled: > > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --enable-proxy --enable-proxy-connect --enable-proxy-ftp > --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" > > make > > make install > > I use "make clean" between attempts..Ihave tried withou the > "SHARED_CORE" and without the --enable-so because > --enable-mods-shared=all should cover that. Still no luck. > > I am using Solaris 9. Here is some diag info: > > [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d > /usr/local/apache2/modules/mod_jk.so > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 =>/usr/lib/libdl.so.1 > symbol not found: ap_server_root > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: ap_null_cleanup > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: dir_module > (/usr/local/apache2/modules/mod_jk.so) > /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > Server's Module Magic Number: 20020903:11 > Architecture: 32-bit > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_FCNTL_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D HTTPD_ROOT="/usr/local/apache2" > -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" > -D DEFAULT_PIDLOG="logs/httpd.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="logs/accept.lock" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > > > Please advise as to what info would be helpful in determining the root > cause. > > Thanks for your help, > Greg > > > > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > -- Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Photos Got holiday prints? See all the ways to get quality prints in your hands ASAP. -- Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379
Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)
I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildcheck.sh: autoconf: not found buildconf: autoconf not found. You need autoconf version 2.13 or newer installed to build Apache from CVS. ./buildconf failed for apr I cannot find autoconf version 2.13 anywhere. Could someone please tell me where to get autoconf? Assuming the build goes correctly, do I implement a static mod_jk any differently than a dynamic mod_jk Thanks, G Greg Bobak <[EMAIL PROTECTED]> wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: > referenced symbol not found > > > I have looked everywhere, and have been advised to recompile apache, > which I have done successfully a few times. This is how I have > recompiled: > > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --enable-proxy --enable-proxy-connect --enable-proxy-ftp > --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" > > make > > make install > > I use "make clean" between attempts..Ihave tried withou the > "SHARED_CORE" and without the --enable-so because > --enable-mods-shared=all should cover that. Still no luck. > > I am using Solaris 9. Here is some diag info: > > [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d > /usr/local/apache2/modules/mod_jk.so > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 =>/usr/lib/libdl.so.1 > symbol not found: ap_server_root > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: ap_null_cleanup > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: dir_module > (/usr/local/apache2/modules/mod_jk.so) > /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > Server's Module Magic Number: 20020903:11 > Architecture: 32-bit > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_FCNTL_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D HTTPD_ROOT="/usr/local/apache2" > -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" > -D DEFAULT_PIDLOG="logs/httpd.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="logs/accept.lock" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > > > Please advise as to what info would be helpful in determining the root > cause. > > Thanks for your help, > Greg > > > > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > -- Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 - To unsubscribe, e-mail: [EMAI
Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)
Found autoconf (did not realize it was a Unix utility): http://www.sunfreeware.com/programlistsparc9.html#autoconf Greg Bobak <[EMAIL PROTECTED]> wrote: I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildcheck.sh: autoconf: not found buildconf: autoconf not found. You need autoconf version 2.13 or newer installed to build Apache from CVS. ./buildconf failed for apr I cannot find autoconf version 2.13 anywhere. Could someone please tell me where to get autoconf? Assuming the build goes correctly, do I implement a static mod_jk any differently than a dynamic mod_jk Thanks, G Greg Bobak wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: > referenced symbol not found > > > I have looked everywhere, and have been advised to recompile apache, > which I have done successfully a few times. This is how I have > recompiled: > > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --enable-proxy --enable-proxy-connect --enable-proxy-ftp > --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" > > make > > make install > > I use "make clean" between attempts..Ihave tried withou the > "SHARED_CORE" and without the --enable-so because > --enable-mods-shared=all should cover that. Still no luck. > > I am using Solaris 9. Here is some diag info: > > [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d > /usr/local/apache2/modules/mod_jk.so > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 =>/usr/lib/libdl.so.1 > symbol not found: ap_server_root > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: ap_null_cleanup > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: dir_module > (/usr/local/apache2/modules/mod_jk.so) > /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > Server's Module Magic Number: 20020903:11 > Architecture: 32-bit > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_FCNTL_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D HTTPD_ROOT="/usr/local/apache2" > -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" > -D DEFAULT_PIDLOG="logs/httpd.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="logs/accept.lock" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > > > Please advise as to what info would be helpful in determining the root > cause. > > Thanks for your help, > Greg > > > > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > > > > - > > What are the most popular cars? Find out at Yahoo! Autos > -- Mike Sabroff Web Services Devel
Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)
After installing autoconf, I get this error: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: libtool version 1.5.20 (ok) libtoolize not found in path ./buildconf failed for apr How do I ge libtoolize in my path? I can only find "libtool" in various apache install and build directories. G. Greg Bobak <[EMAIL PROTECTED]> wrote: Found autoconf (did not realize it was a Unix utility): http://www.sunfreeware.com/programlistsparc9.html#autoconf Greg Bobak wrote: I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildcheck.sh: autoconf: not found buildconf: autoconf not found. You need autoconf version 2.13 or newer installed to build Apache from CVS. ./buildconf failed for apr I cannot find autoconf version 2.13 anywhere. Could someone please tell me where to get autoconf? Assuming the build goes correctly, do I implement a static mod_jk any differently than a dynamic mod_jk Thanks, G Greg Bobak wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (actually age has nothing to do with italways been like that) I appologize, especially since I spent many hours trying this and that and I know what you are going through I do remember, that the proceedure was different with apache 2.x than it was with 1.3x that I have installed. Greg Bobak wrote: > > I am using Tomcat 5.0.28 BTW. > > G. > > Greg Bobak wrote: I am trying to get mod_jk to > work with apache 2.0.55 and get this error on the load module: > > Syntax error on line 276 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/mod_jk.so into server: ld.so.1: > /usr/local/apache2/bin/httpd: fatal: relocation error: file > /usr/local/apache2/modules/mod_jk.so: symbol ap_null_cleanup: > referenced symbol not found > > > I have looked everywhere, and have been advised to recompile apache, > which I have done successfully a few times. This is how I have > recompiled: > > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --enable-proxy --enable-proxy-connect --enable-proxy-ftp > --enable-proxy-http --enable-so --enable-rule="SHARED_CORE" > > make > > make install > > I use "make clean" between attempts..Ihave tried withou the > "SHARED_CORE" and without the --enable-so because > --enable-mods-shared=all should cover that. Still no luck. > > I am using Solaris 9. Here is some diag info: > > [EMAIL PROTECTED]:/usr/local/apache2/bin # ldd -d > /usr/local/apache2/modules/mod_jk.so > libc.so.1 => /usr/lib/libc.so.1 > libdl.so.1 =>/usr/lib/libdl.so.1 > symbol not found: ap_server_root > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: ap_null_cleanup > (/usr/local/apache2/modules/mod_jk.so) > symbol not found: dir_module > (/usr/local/apache2/modules/mod_jk.so) > /usr/platform/SUNW,Serverblade1/lib/libc_psr.so.1 > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -V > Server version: Apache/2.0.55 > Server built: Jan 23 2006 13:17:34 > Server's Module Magic Number: 20020903:11 > Architecture: 32-bit > Server compiled with > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_FCNTL_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D HTTPD_ROOT="/usr/local/apache2" > -D SUEXEC_BIN="/usr/local/apache2/bin/suexec" > -D DEFAULT_PIDLOG="logs/httpd.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="logs/accept.lock" > -D DEFAULT_ERRORLOG="logs/error_log" > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > [EMAIL PROTECTED]:/usr/local/apache2/bin # httpd -v > Server version: Apache/2.0.55 > Server built: Jan
Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)
Still trying to bind mod_jk statically to httpd. I found that I had to install the whole libtool package. Do the following errors mean that I must buiild from the CVS source only? bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: libtool version 1.5 (ok) Copying libtool helper files ... buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ... Can't locate strict.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. Compilation failed in require at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. Compilation failed in require at /usr/local/bin/autoheader line 42. BEGIN failed--compilation aborted at /usr/local/bin/autoheader line 42. Creating configure ... Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/local/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 39. rebuilding rpm spec file rebuilding srclib/apr-util/configure Looking for apr source in ../apr Creating include/private/apu_config.h ... Can't locate strict.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. Compilation failed in require at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. Compilation failed in require at /usr/local/bin/autoheader line 42. BEGIN failed--compilation aborted at /usr/local/bin/autoheader line 42. Creating configure ... Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/local/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 39. autoconf failed ./buildconf failed for apr-util Peace, G. Greg Bobak <[EMAIL PROTECTED]> wrote: Found autoconf (did not realize it was a Unix utility): http://www.sunfreeware.com/programlistsparc9.html#autoconf Greg Bobak wrote: I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildcheck.sh: autoconf: not found buildconf: autoconf not found. You need autoconf version 2.13 or newer installed to build Apache from CVS. ./buildconf failed for apr I cannot find autoconf version 2.13 anywhere. Could someone please tell me where to get autoconf? Assuming the build goes correctly, do I implement a static mod_jk any differently than a dynamic mod_jk Thanks, G Greg Bobak wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the right path. G. Mike Sabroff wrote: I had the same problem a while back. I had to do some googling and find the mod_jk source. Trying to compile it was problematic and I also got the unresolved errors I had to rebuild apache with jk as part of the build in order to get it to work. I wish I could remember where I got the source and the instructions, but I am old and forget easily (
Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)
Found some info that indicates that a perl script is looking for strict.pm. It is on my system. Ihave even copied it to a path that is indicated in the error below: bash-2.05# find / -name strict.pm /usr/perl5/5.6.1/lib/strict.pm /usr/perl5/5.00503/strict.pm /usr/local/lib/perl5/5.6.1/lib/strict.pm /usr/local/lib/perl5/5.6.1/strict.pm < LISTED IN ERRORS Greg Bobak <[EMAIL PROTECTED]> wrote: Still trying to bind mod_jk statically to httpd. I found that I had to install the whole libtool package. Do the following errors mean that I must buiild from the CVS source only? bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: libtool version 1.5 (ok) Copying libtool helper files ... buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ... Can't locate strict.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. Compilation failed in require at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. Compilation failed in require at /usr/local/bin/autoheader line 42. BEGIN failed--compilation aborted at /usr/local/bin/autoheader line 42. Creating configure ... Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/local/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 39. rebuilding rpm spec file rebuilding srclib/apr-util/configure Looking for apr source in ../apr Creating include/private/apu_config.h ... Can't locate strict.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. Compilation failed in require at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. Compilation failed in require at /usr/local/bin/autoheader line 42. BEGIN failed--compilation aborted at /usr/local/bin/autoheader line 42. Creating configure ... Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/local/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 39. autoconf failed ./buildconf failed for apr-util Peace, G. Greg Bobak wrote: Found autoconf (did not realize it was a Unix utility): http://www.sunfreeware.com/programlistsparc9.html#autoconf Greg Bobak wrote: I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildcheck.sh: autoconf: not found buildconf: autoconf not found. You need autoconf version 2.13 or newer installed to build Apache from CVS. ./buildconf failed for apr I cannot find autoconf version 2.13 anywhere. Could someone please tell me where to get autoconf? Assuming the build goes correctly, do I implement a static mod_jk any differently than a dynamic mod_jk Thanks, G Greg Bobak wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: could not find /usr/local/apache2/bin/apxs configure: error: You must specify a valid --with-apxs path Of course it is the righ
Re: Static mod_jk buil & implementation issues(was mod_jk with httpd & tomcat)
I give up -- I have upgrade to Apache 2.2 and I am using mod_proxy_ajp. Works great so far --any risks? Greg Bobak <[EMAIL PROTECTED]> wrote: Found some info that indicates that a perl script is looking for strict.pm. It is on my system. Ihave even copied it to a path that is indicated in the error below: bash-2.05# find / -name strict.pm /usr/perl5/5.6.1/lib/strict.pm /usr/perl5/5.00503/strict.pm /usr/local/lib/perl5/5.6.1/lib/strict.pm /usr/local/lib/perl5/5.6.1/strict.pm < LISTED IN ERRORS Greg Bobak wrote: Still trying to bind mod_jk statically to httpd. I found that I had to install the whole libtool package. Do the following errors mean that I must buiild from the CVS source only? bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: libtool version 1.5 (ok) Copying libtool helper files ... buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4. Creating include/arch/unix/apr_private.h.in ... Can't locate strict.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. Compilation failed in require at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. Compilation failed in require at /usr/local/bin/autoheader line 42. BEGIN failed--compilation aborted at /usr/local/bin/autoheader line 42. Creating configure ... Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/local/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 39. rebuilding rpm spec file rebuilding srclib/apr-util/configure Looking for apr source in ../apr Creating include/private/apu_config.h ... Can't locate strict.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/Channels.pm line 60. Compilation failed in require at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/ChannelDefs.pm line 20. Compilation failed in require at /usr/local/bin/autoheader line 42. BEGIN failed--compilation aborted at /usr/local/bin/autoheader line 42. Creating configure ... Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/share/autoconf /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. BEGIN failed--compilation aborted at /usr/local/share/autoconf/Autom4te/C4che.pm line 35. Compilation failed in require at /usr/local/bin/autom4te line 39. BEGIN failed--compilation aborted at /usr/local/bin/autom4te line 39. autoconf failed ./buildconf failed for apr-util Peace, G. Greg Bobak wrote: Found autoconf (did not realize it was a Unix utility): http://www.sunfreeware.com/programlistsparc9.html#autoconf Greg Bobak wrote: I've found documentation for building mod_jk as a static module in apache here: http://tomcat.apache.org/connectors-doc/howto/apache.html (at the bottom of page). On this step, I get this: bash-2.05# ./buildconf rebuilding srclib/apr/configure buildconf: checking installation... build/buildcheck.sh: autoconf: not found buildconf: autoconf not found. You need autoconf version 2.13 or newer installed to build Apache from CVS. ./buildconf failed for apr I cannot find autoconf version 2.13 anywhere. Could someone please tell me where to get autoconf? Assuming the build goes correctly, do I implement a static mod_jk any differently than a dynamic mod_jk Thanks, G Greg Bobak wrote: Hi, Thansk for the reply. I think I had found some documentation about rebuild Apache with mod_jk bound. I'll have to look again. I've been trying to rebuild mod_jk (to no avail) in hopes that would work, but keep getting this error: cou