An update on the problem....
Reading through some other posts I got the suspicion that errno=13 was
privilege related. On a hunch turned off SELINUX
(http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825232) and
everything worked great! The next step is to figure out how to run with it
back on, but that got me going again.
----- Original Message -----
From: "Chris Brown" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[email protected]>
Sent: Thursday, July 21, 2005 4:06 PM
Subject: Re: Apache2+jk+tomcat5.028+uri utf-8 [NOT] SOLVED
Hello, Sorry for not replying to the thread referenced in my subject (See
July 1st, 2005), I'm new to the list and didn't have the email to reply
to.
I am having the same trouble that Paul and Steve encountered. (Error
connecting to tomcat from mod_jk). Like Steve I have two similarly
configured machines, one works, one doesn't. I can provide configuration
files and more detailed logs but the errors I get are similar. Maybe I can
peek someone's interest or jog a memory by proviging more detail.
I'm running two identically configured Fedora Core 4 boxes. The one that
works is running on a Pentium II 450mhz running (FC4 i386), the one that
doesn't work is running on a Xeon 2.8ghz (FC4 x86_64).
I've compiled mod_jk v1.2.14.1 from source on each box configured
everything with simple settings from the tomcat connector HOWTOs. I'm
running apache 2.0.54-10. I also tried downloading a precompiled binary
(jakarta-tomcat-connectors-jk-1.2.10-linux-sles9-x86_64-prefork.so) but
didn't have any better results.
I tried pointing the working box's workers.properties file to the other
boxes tomcat to confirm tomcat was in fact listening on port 8009. That
worked.
I turned off my firewall to ensure that wasn't the issue. below is the log
from mod_jk. I can provide one with debug message but thought I'd start
with the shorter version.
Thanks for any help on this matter, I'm stumped.
Chris Brown
[Thu Jul 21 00:18:16 2005] [error] init_jk::mod_jk.c (2356): Initializing
shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] init_jk::mod_jk.c (2356): Initializing
shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:17 2005] [error] jk_child_init::mod_jk.c (2312):
Attachning shm:/etc/httpd/logs/jk-runtime-status errno=13
[Thu Jul 21 00:18:21 2005] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=13
[Thu Jul 21 00:18:21 2005] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to
(127.0.0.1:8009) with (errno=13)
[Thu Jul 21 00:18:21 2005] [info] ajp_send_request::jk_ajp_common.c
(1248): Error connecting to the Tomcat process.
[Thu Jul 21 00:18:21 2005] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=1
[Thu Jul 21 00:18:21 2005] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=13
[Thu Jul 21 00:18:21 2005] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to
(127.0.0.1:8009) with (errno=13)
[Thu Jul 21 00:18:21 2005] [info] ajp_send_request::jk_ajp_common.c
(1248): Error connecting to the Tomcat process.
[Thu Jul 21 00:18:21 2005] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=2
[Thu Jul 21 00:18:21 2005] [info] jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8009 failed with errno=13
[Thu Jul 21 00:18:21 2005] [info]
ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to
(127.0.0.1:8009) with (errno=13)
[Thu Jul 21 00:18:21 2005] [info] ajp_send_request::jk_ajp_common.c
(1248): Error connecting to the Tomcat process.
[Thu Jul 21 00:18:21 2005] [info] ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed, recoverable operation attempt=3
[Thu Jul 21 00:18:21 2005] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=ajp13w failed
[Thu Jul 21 00:18:21 2005] [info] service::jk_lb_worker.c (662): service
failed, worker ajp13w is in error state
[Thu Jul 21 00:18:21 2005] [info] service::jk_lb_worker.c (712): All
tomcat instances are busy or in error state
[Thu Jul 21 00:18:21 2005] wlb 192.168.0.10 0.001245
[Thu Jul 21 00:18:21 2005] [info] jk_handler::mod_jk.c (1971): Service
error=0 for worker=wlb
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]