httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preetam Palwe" <preet...@aftek.com>
Subject [users@httpd] apache httpd + jboss + mod_jk : Failed opening socket to (172.16.2.229:8009) (errno=13)
Date Wed, 07 Mar 2007 13:35:48 GMT
Hello All
    I am trying to configure apache and jboss using mod_jk connector. 
I am using httpd-2.2.3-5, jboss-4.0.3SP1 and jk tomcat-connectors-1.2.21.
After the proper configuration when I try to access my webapp at
http://172.16.2.229/rcs I get "Service Temporarily Unavailable" error. 
In mod_jk.log log I found this:  
....
Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13 
.... 
Failed opening socket to (172.16.2.229:8009) (errno=13)
....
 
Full log is given below. I would really appreciate if someone help me in
this regards !
BTW I am using Fedora core 6. and I compiled tomcat-connectors-1.2.21 on it.
And sorry for the long mail. ( I have done this on Windows successfully in
past but not able to do this time :( )
 
Thanks & Best Regards 
~Preetam
 
LOG :
 
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 2
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (372): exact rule '/rcs=worker1'
source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule
'/rcs/*=worker1' source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 2
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (372): exact rule '/rcs=worker1'
source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule
'/rcs/*=worker1' source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule
'/rcs/*=worker1' source 'JkMount' was added
[Wed Mar 07 18:48:35 2007] [22159:18128] [error] init_jk::mod_jk.c (2638):
Initializing shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
jk_map_resolve_references::jk_map.c (644): Checking for references with
prefix worker. with wildcard (recursion 1)
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
build_worker_map::jk_worker.c (239): creating worker worker1
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
wc_create_worker::jk_worker.c (144): about to create instance worker1 of
ajp13
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
wc_create_worker::jk_worker.c (157): about to validate and init worker1
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
ajp_validate::jk_ajp_common.c (1985): worker worker1 contact is
'dhgweb:8009'
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2112): setting endpoint options:
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2115): keepalive:        0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2119): timeout:          0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2123): buffer size:      0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2127): pool timeout:     0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2131): connect timeout:  0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2135): reply timeout:    0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2139): prepost timeout:  0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2143): recovery options: 0
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2147): retries:          2
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug] ajp_init::jk_ajp_common.c
(2151): max packet size:  8192
[Wed Mar 07 18:48:35 2007] [22159:18128] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2022): setting connection pool
size to 1 with min 1
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 2
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (372): exact rule '/rcs=worker1'
source 'JkMount' was added
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule
'/rcs/*=worker1' source 'JkMount' was added
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
uri_worker_map_open::jk_uri_worker_map.c (423): rule map size is 2
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (372): exact rule '/rcs=worker1'
source 'JkMount' was added
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
uri_worker_map_add::jk_uri_worker_map.c (364): wildchar rule
'/rcs/*=worker1' source 'JkMount' was added
[Wed Mar 07 18:48:36 2007] [22160:18128] [error] init_jk::mod_jk.c (2638):
Initializing shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
jk_map_resolve_references::jk_map.c (644): Checking for references with
prefix worker. with wildcard (recursion 1)
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
build_worker_map::jk_worker.c (239): creating worker worker1
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
wc_create_worker::jk_worker.c (144): about to create instance worker1 of
ajp13
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
wc_create_worker::jk_worker.c (157): about to validate and init worker1
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
ajp_validate::jk_ajp_common.c (1985): worker worker1 contact is
'dhgweb:8009'
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2112): setting endpoint options:
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2115): keepalive:        0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2119): timeout:          0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2123): buffer size:      0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2127): pool timeout:     0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2131): connect timeout:  0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2135): reply timeout:    0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2139): prepost timeout:  0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2143): recovery options: 0
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2147): retries:          2
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug] ajp_init::jk_ajp_common.c
(2151): max packet size:  8192
[Wed Mar 07 18:48:36 2007] [22160:18128] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2022): setting connection pool
size to 1 with min 1
[Wed Mar 07 18:48:36 2007] [22162:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22162:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22163:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22163:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22164:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22164:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22165:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22165:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22166:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22166:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22167:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22167:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22168:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22168:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:48:36 2007] [22169:18128] [error] jk_child_init::mod_jk.c
(2594): Attaching shm:/etc/httpd/logs/jk-runtime-status errno=13
[Wed Mar 07 18:48:36 2007] [22169:18128] [debug] jk_child_init::mod_jk.c
(2598): Initialized mod_jk/1.2.21
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI '/rcs'
from 2 maps
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI
'/rcs/*=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI
'/rcs=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (627): Found an exact match
'/rcs=worker1'
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] jk_handler::mod_jk.c
(2054): Into handler jakarta-servlet worker=worker1 r->proxyreq=0
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
wc_get_worker_for_name::jk_worker.c (114): found a worker worker1
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] wc_maintain::jk_worker.c
(321): Maintaining worker worker1
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
wc_get_name_for_type::jk_worker.c (290): Found worker type 'ajp13'
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] init_ws_service::mod_jk.c
(604): Service protocol=HTTP/1.1 method=GET host=(null) addr=172.16.2.32
name=172.16.2.229 port=443 auth=(null) user=(null) laddr=172.16.2.229
raddr=172.16.2.32
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
ajp_get_endpoint::jk_ajp_common.c (2329): acquired connection pool slot=0
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
ajp_marshal_into_msgb::jk_ajp_common.c (548): ajp marshaling done
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
ajp_service::jk_ajp_common.c (1785): processing worker1 with 2 retries
[[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
jk_open_socket::jk_connect.c (335): socket TCP_NODELAY set to On
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
jk_open_socket::jk_connect.c (433): trying to connect socket 19 to
172.16.2.229:8009
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
jk_open_socket::jk_connect.c (451): connect to 172.16.2.229:8009 failed
(errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (876): Failed opening socket to
(172.16.2.229:8009) (errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
ajp_send_request::jk_ajp_common.c (1273): (worker1) error connecting to the
backend server (errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
ajp_service::jk_ajp_common.c (1930): (worker1) sending request to tomcat
failed,  recoverable operation attempt=1
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
jk_open_socket::jk_connect.c (335): socket TCP_NODELAY set to On
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug]
jk_open_socket::jk_connect.c (433): trying to connect socket 19 to
172.16.2.229:8009
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
jk_open_socket::jk_connect.c (451): connect to 172.16.2.229:8009 failed
(errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (876): Failed opening socket to
(172.16.2.229:8009) (errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
ajp_send_request::jk_ajp_common.c (1273): (worker1) error connecting to the
backend server (errno=13)
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]
ajp_service::jk_ajp_common.c (1930): (worker1) sending request to tomcat
failed,  recoverable operation attempt=2
[Wed Mar 07 18:51:27 2007] [22162:18128] [error]
ajp_service::jk_ajp_common.c (1942): (worker1) Connecting to tomcat failed.
Tomcat is probably not started or is listening on the wrong port
[Wed Mar 07 18:51:27 2007] [22162:18128] [debug] ajp_done::jk_ajp_common.c
(2272): recycling connection pool slot=0 for worker worker1
[Wed Mar 07 18:51:27 2007] worker1 172.16.2.229 0.000643
[Wed Mar 07 18:51:27 2007] [22162:18128] [info]  jk_handler::mod_jk.c
(2197): Service error=0 for worker=worker1
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI
'/favicon.ico' from 2 maps
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI
'/rcs/*=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI
'/rcs=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (589): Attempting to map URI
'/favicon.ico' from 2 maps
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI
'/rcs/*=worker1' source 'JkMount'
[Wed Mar 07 18:51:27 2007] [22163:18128] [debug]
map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI
'/rcs=worker1' source 'JkMount'



Mime
View raw message