tomcat configuration broken after upgrade from ubuntu edgy to feisty

Discussion in 'Java' started by Amir Michail, Apr 23, 2007.

  1. Amir  Michail

    Amir Michail Guest

    Hi,

    After upgrading from ubuntu edgy to feisty, I now get this error:

    503 Service Temporarily Unavailable

    >From the mod_jk.log:


    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
    with errno=111
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket
    to (127.0.0.1:8009) with (errno=111)
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    ajp_send_request::jk_ajp_common.c (1251): Error connecting to the
    backend server.
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    ajp_service::jk_ajp_common.c (1783): Sending request to tomcat
    failed, recoverable operation attempt=1
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
    with errno=111
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket
    to (127.0.0.1:8009) with (errno=111)
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    ajp_send_request::jk_ajp_common.c (1251): Error connecting to the
    backend server.
    [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    ajp_service::jk_ajp_common.c (1783): Sending request to tomcat
    failed, recoverable operation attempt=2
    [Mon Apr 23 11:11:47 2007] [4248:31632] [error]
    ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
    Tomcat is probably not started or is listening on the wrong port.
    worker=ajp13 failed

    Any ideas on what could have gone wrong?

    Amir
     
    Amir Michail, Apr 23, 2007
    #1
    1. Advertising

  2. Re: tomcat configuration broken after upgrade from ubuntu edgy tofeisty

    Hi!

    Thus spake Amir Michail on 04/23/2007 10:16 PM:
    > ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
    > Tomcat is probably not started or is listening on the wrong port.


    Well, I'd start there. Make sure whether tomcat is running at all
    and if it is, check the catalina.out and localhost.log for any
    anomalies.

    Regards,

    Phil
     
    Philipp Taprogge, Apr 23, 2007
    #2
    1. Advertising

  3. Amir  Michail

    Nigel Wade Guest

    Amir Michail wrote:

    > Hi,
    >
    > After upgrading from ubuntu edgy to feisty, I now get this error:
    >
    > 503 Service Temporarily Unavailable


    >From the mod_jk.log:


    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
    > with errno=111


    If you look in the relevant files you'll find that errno 111 indicates
    "Connection refused", i.e. there is, most likely, nothing listening on that
    port so Tomcat is probably not running...

    > [Mon Apr 23 11:11:47 2007] [4248:31632] [error]
    > ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
    > Tomcat is probably not started or is listening on the wrong port.
    > worker=ajp13 failed


    .... which is just what the log tells you.

    >
    > Any ideas on what could have gone wrong?



    Yep. It wasn't broken, but you fixed it anyway - and broke it. ;-)

    --
    Nigel Wade, System Administrator, Space Plasma Physics Group,
    University of Leicester, Leicester, LE1 7RH, UK
    E-mail :
    Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
     
    Nigel Wade, Apr 24, 2007
    #3
  4. Amir  Michail

    Amir Michail Guest

    On Apr 23, 4:16 pm, Amir Michail <> wrote:
    > Hi,
    >
    > After upgrading from ubuntu edgy to feisty, I now get this error:
    >
    > 503 Service Temporarily Unavailable


    Hi,

    I found a workaround here:

    https://bugs.launchpad.net/ubuntu/ source/tomcat5.5/ bug/97096

    Amir

    >
    > >From the mod_jk.log:

    >
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
    > with errno=111
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket
    > to (127.0.0.1:8009) with (errno=111)
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > ajp_send_request::jk_ajp_common.c (1251): Error connecting to the
    > backend server.
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > ajp_service::jk_ajp_common.c (1783): Sending request to tomcat
    > failed, recoverable operation attempt=1
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed
    > with errno=111
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket
    > to (127.0.0.1:8009) with (errno=111)
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > ajp_send_request::jk_ajp_common.c (1251): Error connecting to the
    > backend server.
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [info]
    > ajp_service::jk_ajp_common.c (1783): Sending request to tomcat
    > failed, recoverable operation attempt=2
    > [Mon Apr 23 11:11:47 2007] [4248:31632] [error]
    > ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat.
    > Tomcat is probably not started or is listening on the wrong port.
    > worker=ajp13 failed
    >
    > Any ideas on what could have gone wrong?
    >
    > Amir
     
    Amir Michail, Apr 25, 2007
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. levander
    Replies:
    5
    Views:
    505
    Patricia J. Hawkins
    May 8, 2007
  2. C Barrington-Leigh
    Replies:
    0
    Views:
    154
    C Barrington-Leigh
    Dec 13, 2011
  3. C Barrington-Leigh
    Replies:
    0
    Views:
    168
    C Barrington-Leigh
    Dec 13, 2011
  4. Sam Waller

    apache2 + ubuntu edgy + ruby

    Sam Waller, Dec 8, 2006, in forum: Ruby
    Replies:
    3
    Views:
    260
    Sam Waller
    Dec 9, 2006
  5. kazaam
    Replies:
    6
    Views:
    236
    kazaam
    Aug 27, 2007
Loading...

Share This Page