Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: apache 2.2 with mod_jk

  1. #11

    Default

    Hey Paul,

    Did you get a chance to look into this problem? I attached the files which you asked.

    Request you to please help here as I am still stuck with this issue.

  2. #12

    Default

    is Tomcat and httpd on the same server, that's what you have configured right now in your worker.properties

    what do the logs file say now?

  3. #13

    Default

    Yes, both are on same machine. I have attached the logs file as well in my previous post. Logs are still the same.

  4. #14

    Default

    {code}
    [Thu Oct 08 10:59:20 2009] [935:2785330528] [debug] jk_open_socket::jk_connect.c (576): trying to connect socket 21 to 127.0.0.1:8023
    [Thu Oct 08 10:59:20 2009] [935:2785330528] [info] jk_open_socket::jk_connect.c (594): connect to 127.0.0.1:8023 failed (errno=13)
    [Thu Oct 08 10:59:20 2009] [935:2785330528] [info] ajp_connect_to_endpoint::jk_ajp_common.c (922): Failed opening socket to (127.0.0.1:8023) (errno=13)
    {code}

    still shows that it cant connect.

  5. #15

    Default

    Quote Originally Posted by fhanik View Post
    {code}
    [Thu Oct 08 10:59:20 2009] [935:2785330528] [debug] jk_open_socket::jk_connect.c (576): trying to connect socket 21 to 127.0.0.1:8023
    [Thu Oct 08 10:59:20 2009] [935:2785330528] [info] jk_open_socket::jk_connect.c (594): connect to 127.0.0.1:8023 failed (errno=13)
    [Thu Oct 08 10:59:20 2009] [935:2785330528] [info] ajp_connect_to_endpoint::jk_ajp_common.c (922): Failed opening socket to (127.0.0.1:8023) (errno=13)
    {code}

    still shows that it cant connect.
    What I should have said, is that this is a basic error. mod_jk is unable to open a connection. There is nothing in the Tomcat or httpd config files that fixes this. Most likely your Tomcat is not up and running or you got some other networking snafu going on on your system.

  6. #16

    Default

    Hi

    I checked many a times that Apache was running. I did telnet to the AJP port and it is also working.

    What other causes of this problem could be? You mentioned some networking issues. Any ideas what i can do to fix those.

    I have both these servers installed on the same machine. And this machine has CentOS server 5.0 installed on it.

  7. #17

    Default

    if you had apache tomcat and apache httpd both running before on this box, then it will work with tcServer too. The config file you pasted for Tomcat is not from tcServer either, its from Apache Tomcat, we can tell

    Look for the basic stuff such as
    1. Is the stuff really running on the said port
    2. Is SELinux running and blocking your traffic
    etc

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •