LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-09-2007, 03:37 AM   #1
FMH
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Smile tomcat5.5+apache 2.2.4+modjk+ suse8


Hi all
I have 2 server which both of the are suse8. on one of them tomcat 5.5 has been installed and on another apache 1.3 has been installed. they are work properly. I want to convert my apache from 1.3 to 2.2.4. so I downloaded httpd-2.2.4.tar.gz and mod_jk-1.2.25-httpd-2.2.4.so.
I installed httpd-2.2.4 as following:

$ tar xvf httpd-2.2.4.tar
$ ./configure --enable-mods-shared=most --enable-ssl=shared
$ make
$ make install

then I put mod_jk which i had download in modules folder.

then I add the following line at the end of /conf/httpd.conf:
Include conf/mod_jk.conf

I made 2 files for mod_jk.conf and workers.properties in conf directory. the content of these files is :

mod_jk.conf file is :

LoadModule jk_module /usr/local/apache2/modules/mod_jk.so
JkWorkersFile /usr/local/apache2/conf/workers.properties
JkLogFile /usr/local/apache2/conf/mod_jk.log
JkLogLevel debug

workers.properties file is:

workers.java_home=$(JAVA_HOME)
workers.tomcat_home=$(CATALINA_HOME)
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=192.168.2.120 //ip address of application server
worker.ajp13.type=ajp13

but when I run /bin/apachel start I get this error :

TEST:/usr/local/apache2/bin # ./apachectl start
httpd: Syntax error on line 407 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 1 of /usr/local/apache2/conf/mod_jk.conf: Cannot load /usr/local/apache2/modules/mod_jk.so into server: /usr/local/apache2/modules/mod_jk.so: cannot open shared object file: No such file or directory

can you help me what should I do that mod_jk.so loads? httpd-2.2.4 can be installed on suse8? I just want to instal apache2 on my server so which version of apache and mod_jk you offer me to install on suse8?

Best Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6, Tomcat5, Apache 2 xuancongwen Linux - Server 9 05-26-2007 08:28 AM
apache + tomcat5.5 + mod_jk = donno how to make them work... Hedon Debian 5 02-13-2007 10:01 AM
problem in loading mod_jk & connectivety of tomcat5 and apache server for FC_5 ankitbansal Linux - General 1 02-11-2007 01:24 PM
Why is tomcat5 still unstable?!!!!! Mathsniper Debian 1 08-28-2005 05:04 AM
Installing Tomcat5 Randvegeta Linux - Software 1 05-07-2005 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration