Thx for the response..
Hardware : SunBlade 100 (Sparc)
OS: Solaris 10 U7 (05/09)
Apache: # /usr/apache2/bin/httpd -v
Server version: Apache/2.0.63
Server built: Jan 18 2009 15:51:05
Good thoughts.. double checked to make sure and I do have the correct SPARC
binary..
Here is the complete link.
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.28/sparc/mod_jk-1.2.28-httpd-2.0.X.so
------------------------
the
/usr/apache2/libexec
directory is where I put the binary so it would pick up like all the other
apache2 modules
listed in /etc/apache2/httpd.conf
( LoadModule rewrite_module libexec/mod_rewrite.so )
( LoadModule jk_module libexec/mod_jk.so )
# pwd
/usr/apache2/libexec
# ls -al mod_jk*
-rw-r--r-- 1 root root 943144 Mar 21 18:40
mod_jk-1.2.28-httpd-2.0.X.so
-rw-r--r-- 1 root bin 943144 Jun 29 13:59 mod_jk.so
# ldd mod_jk.so
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
binary looks linked
---
and it looks like mod_jk initializes
-----------------------------------------------
# pwd
/var/apache2/logs
# tail mod_jk.log
[Tue Jul 07 10:03:08.018 2009] [19704:1] [info] init_jk::mod_jk.c (3183):
mod_jk/1.2.28 initialized
[Tue Jul 07 10:03:09.018 2009] [19706:1] [info] init_jk::mod_jk.c (3183):
mod_jk/1.2.28 initialized
---
So far so good...?
tk
awarnier wrote:
>
> thekat wrote:
>> We have a Windows box running IIS with a tomcat connector..
>> I have been tasked to move this to Solaris 10 platform..
>
> Is this a Sparc CPU, or X86 ?
> Maybe try :
> file /path_to_apache_httpd
> file /path_to_mod_jk.so
>
> Segmentation fault usually happens when trying to use a binary that does
> not match the platform.
>
>
>>
>> My attempts
>> - found the binaries for mod_jk for Solaris apache2 (version 2.0.61)
>> http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/solaris/jk-1.2.28/sparc/
>> --- native apache2 on Solaris U7 (05/09) is Server version: Apache/2.0.63
>> Using the binary from above give errors when running apache
>> *****
>> [Mon Jun 29 15:51:16 2009] [notice] Apache/2.0.63 (Unix) DAV/2
>> mod_jk/1.2.28
>> configured -- resuming normal operations
>> [Mon Jun 29 15:51:17 2009] [notice] child pid 8080 exit signal
>> Segmentation
>> fault (11)
>> *****
>> (apache2) (additions)
>> httpd.conf
>> -------------------------------------------
>> # Load mod_jk module
>> # Update this path to match your modules location
>> LoadModule jk_module libexec/mod_jk.so
>> # Declare the module for <IfModule directive> (remove this line on
>> Apache
>> 2.x)
>> ### AddModule mod_jk.c
>> # Where to find workers.properties
>> # Update this path to match your conf directory location (put
>> workers.properties next to httpd.conf)
>> JkWorkersFile /etc/apache2/workers.properties
>> # Where to put jk shared memory
>> # Update this path to match your local state directory or logs
>> directory
>> JkShmFile /var/apache2/logs/mod_jk.shm
>> # Where to put jk logs
>> # Update this path to match your logs directory location (put
>> mod_jk.log
>> next to access_log)
>> JkLogFile /var/apache2/logs/mod_jk.log
>> # Set the jk log level [debug/error/info]
>> JkLogLevel info
>> # Send everything for context /examples to worker named worker1 (ajp13)
>> JkMount /Example/* worker1
>> -------------------------------------------
>> **
>> worker.properties from Windows box
>> -------------------------------------------
>> # Begins worker.properties here
>> # Define path of .properties files and jdk
>> # workers.tomcat_home=E:\IISSettings
>> # ps=\
>> # Define workers using ajp13
>> worker.list=worker1
>> # Set properties for worker1 (ajp13)
>> worker.worker1.type=ajp13
>> worker.worker1.host=<server name here>
>> worker.worker1.port=8309
>> -------------------------------------------
>>
>> Tried compiling from source but to no avail..
>> ****
>> running ./configure --with-apxs=/usr/apache2/bin/apxs
>> Error
>> - gives error regarding /opt/SUNWspro/bin/cc missing
>> Symbolic link to /usr/sfw/bin/gcc does not work
>>
>> ******
>>
>> thx for any help
>> ct
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/Solaris-10-mod_jk-problems...-tp24375362p24377783.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]