jk经常死掉,看了一下mod_jk.log,大家帮忙看看。
liwei6998
|
1#
liwei6998 发表于 2006-12-06 11:52
jk经常死掉,看了一下mod_jk.log,大家帮忙看看。
公司网站这几天经常不能访问。ssh进去后,看了看mod_jk.log,发现这些错误:
[Tue Oct 24 18:42:01 2006] worker1 219.234.80.176 0.000353 [Tue Oct 24 18:42:01 2006] [5595:52064] [info] jk_handler::mod_jk.c (197: Service error=0 for worker=worker1 [Tue Oct 24 18:42:07 2006] [5621:52064] [info] jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed with errno=111 [Tue Oct 24 18:42:07 2006] [5621:52064] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=111) [Tue Oct 24 18:42:07 2006] [5621:52064] [info] ajp_send_request::jk_ajp_common.c (1251): Error connecting to the backend server. [Tue Oct 24 18:42:07 2006] [5621:52064] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=1 [Tue Oct 24 18:42:07 2006] [5621:52064] [info] jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed with errno=111 [Tue Oct 24 18:42:07 2006] [5621:52064] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=111) [Tue Oct 24 18:42:07 2006] [5621:52064] [info] ajp_send_request::jk_ajp_common.c (1251): Error connecting to the backend server. [Tue Oct 24 18:42:07 2006] [5621:52064] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=2 [Tue Oct 24 18:42:07 2006] [5621:52064] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not starte d or is listening on the wrong port. worker=worker1 failed [Tue Oct 24 18:42:07 2006] worker1 mall.haohao.com 0.000414 [Tue Oct 24 18:42:07 2006] [5621:52064] [info] jk_handler::mod_jk.c (197: Service error=0 for worker=worker1 [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_send_request::jk_ajp_common.c (117: Socket 29 is not connected any more (errno=-1) [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_send_request::jk_ajp_common.c (1202): Error sending request. Will try another pooled conne ction [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_send_request::jk_ajp_common.c (1224): All endpoints are disconnected or dead [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=1 [Tue Oct 24 18:42:08 2006] [5625:52064] [info] jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed with errno=111 [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=111) [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_send_request::jk_ajp_common.c (1251): Error connecting to the backend server. [Tue Oct 24 18:42:08 2006] [5625:52064] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=2 [Tue Oct 24 18:42:08 2006] [5625:52064] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not starte d or is listening on the wrong port. worker=worker1 failed [Tue Oct 24 18:42:08 2006] worker1 www.haohao.com 0.000321 [Tue Oct 24 18:42:08 2006] [5625:52064] [info] jk_handler::mod_jk.c (197: Service error=0 for worker=worker1 [Tue Oct 24 18:42:10 2006] [5583:52064] [info] jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed with errno=111 [Tue Oct 24 18:42:10 2006] [5583:52064] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=111) [Tue Oct 24 18:42:10 2006] [5583:52064] [info] ajp_send_request::jk_ajp_common.c (1251): Error connecting to the backend server. [Tue Oct 24 18:42:10 2006] [5583:52064] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=1 [Tue Oct 24 18:42:10 2006] [5583:52064] [info] jk_open_socket::jk_connect.c (445): connect to 127.0.0.1:8009 failed with errno=111 [Tue Oct 24 18:42:10 2006] [5583:52064] [info] ajp_connect_to_endpoint::jk_ajp_common.c (889): Failed opening socket to (127.0.0.1:8009) with (errno=111) [Tue Oct 24 18:42:10 2006] [5583:52064] [info] ajp_send_request::jk_ajp_common.c (1251): Error connecting to the backend server. [Tue Oct 24 18:42:10 2006] [5583:52064] [info] ajp_service::jk_ajp_common.c (1783): Sending request to tomcat failed, recoverable operation attempt=2 [Tue Oct 24 18:42:10 2006] [5583:52064] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not starte d or is listening on the wrong port. worker=worker1 failed 重启tomcat后,就可以了。 请大家帮忙看看,是什么原因? 先谢了。 |