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