You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Junpei SANO <sa...@ka.baynet.ne.jp> on 2000/08/06 13:41:31 UTC

Cannot run Apache with mod_jk

Now, I cannot run apache with mod_jk.
Could anybody show me the way how to fix this?

My situation is as follows;

OK: Tomcat works fine on port 8080
OK: Apache works fine on port 80 if not including mod_jk.conf-auto.
NG: httpd process does not launch when including mod_jk.conf-auto.
    # cd ${TOMCAT_HOME}/bin; startup.sh
      [Tomcat works fine]
    # tail -1 ${APACHE_HOME}/conf/httpd.conf
    Include /usr/local/jakarta/tomcat/conf/mod_jk.conf-auto
    # ${APACHE_HOME}/bin/apachctl start
    jk_post_config NULL
    /usr/local/apache/bin/apachectl start:httpd started
    # ps -e | fgrep httpd
      [No httpd process running]
    #

No error logs appears in {APACHE_HOME}/logs/*log and ${TOMCAT_HOME}/logs/*.log

I have successfully built mod_jk.so from the src of tomcat3.2b2 like
below. And copied it in apache/libexec directory.
    $ cd {TOMCAT_SRC}/src/native/apache1.3
    $ ${APACHE_HOME}/bin/apxs -o mod_jk.so -I../jk \
      -I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux \
      -c *.c ../jk/*.c

My environment is, 
OS: Linux kernel 2.2.16-3
Java: Sun JDK1.3(beta) for Linux
Apache: 1.3.12
Tomcat: 3.2b2

Thanks,
Junpei Sano