tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ingmars Rubenis <ingmars.rube...@lu.lv>
Subject Re[2]: Your configuration Files
Date Thu, 04 Dec 2003 19:50:38 GMT
Asif> did you see the jkstatus page
Asif> is the jk2.shm file created when you start apache.
Yes
Do you have such error?
here is error
[Thu Dec 04 19:13:03 2003] [error] jk2_init() Can't find child 9532 in scoreboard
[Thu Dec 04 19:13:03 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:13:50 2003] [error] jk2_init() Can't find child 9537 in scoreboard
[Thu Dec 04 19:13:50 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:22 2003] [error] jk2_init() Can't find child 9571 in scoreboard
[Thu Dec 04 19:14:22 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:23 2003] [error] jk2_init() Can't find child 9572 in scoreboard
[Thu Dec 04 19:14:23 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:23 2003] [error] jk2_init() Can't find child 9573 in scoreboard
[Thu Dec 04 19:14:23 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9574 in scoreboard
[Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9575 in scoreboard
[Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9576 in scoreboard
[Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:14:24 2003] [error] jk2_init() Can't find child 9577 in scoreboard
[Thu Dec 04 19:14:24 2003] [error] mod_jk child init 1 -2
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00
[Thu Dec 04 19:16:29 2003] [error] channelSocket.receive(): Bad header
[Thu Dec 04 19:16:29 2003] [error] workerEnv.processCallbacks() Error reading reply
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() ajpGetReply recoverable error 21000
[Thu Dec 04 19:16:29 2003] [error] channelSocket.open() connect failed localhost:8019 111
Connection refused 
[Thu Dec 04 19:16:29 2003] [error] ajp13.connect() failed ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() failed to connect endpoint errno=111 Connection
refused
[Thu Dec 04 19:16:29 2003] [error] ajp13.service() Error  forwarding ajp13:localhost:8019
1 1
[Thu Dec 04 19:16:29 2003] [error] lb.service() worker failed 21000 for ajp13:localhost:8019
[Thu Dec 04 19:16:29 2003] [error] msgAjp.receive(): Bad signature 00

Asif> -----Original Message-----
Asif> From: Asif Chowdhary 
Asif> Sent: Thursday, December 04, 2003 10:07 AM
Asif> To: tomcat-user@jakarta.apache.org
Asif> Subject: RE: Your configuration Files


Asif> Try this
Asif> [shm]
Asif> info=Scoreboard. Required for reconfiguration and status with multi process servers
Asif> file=/var/log/httpd/jk2.shm
Asif> size=10000

Asif> -----Original Message-----
Asif> From: Ingmars Rubenis [mailto:ingmars.rubenis@lu.lv]
Asif> Sent: Thursday, December 04, 2003 7:41 AM
Asif> To: Asif Chowdhary
Asif> Subject: Re: Your configuration Files
Asif> Importance: High


Asif> Thank You, but I have
Asif> the same errors  in error.log (apache dir)
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3944 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3945 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3946 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3947 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3948 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3949 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3950 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [error] jk2_init() Can't find child 3951 in scoreboard
Asif> [Thu Dec 04 14:40:08 2003] [error] mod_jk child init 1 -2
Asif> [Thu Dec 04 14:40:08 2003] [notice] Apache/2.0.40 (Red
Asif> Hat Linux) configured -- resuming normal operations


Asif>> Hi,

Asif>> I just felt like doing a good deed.

Asif>> Here are the modified files.

Asif>>  <<jk2.properties>>  <<workers2.properties>> 


Asif>> Once you have the mod_jk2 on your machine working.
Asif>> Type: http://localhost/jkstatus. This will display the page
Asif>> and will mean that mod_jk2 is working.

Asif>> Next. Ensure Tomcat is working by
Asif>> Type: http://localhost:8080/examples
Asif>> Try the servlets and Jsp there.

Asif>> Next: Type
Asif>> http://localhost:80/examples
Asif>> If you can access the Tomcat servlets and JSP page from here
Asif>> it means that your connections are working fine.

Asif>> Also, I have added the info in workers2.properties file that you
Asif>> should add to the server.xml file of your tomcat.

Asif>> The jvmRoute="localhost:8010" This is for load balancing.
Asif>> Also the connector should be in your server.xml file.

Asif>> Asif





Asif> Best wishes
Asif> Ingmars Rubenis
Asif> LU
Asif> University of Latvia
Asif> Developer
Asif> IT Department
Asif> (371) 9227133


Asif> ---------------------------------------------------------------------
Asif> To unsubscribe, e-mail:
Asif> tomcat-user-unsubscribe@jakarta.apache.org
Asif> For additional commands, e-mail:
Asif> tomcat-user-help@jakarta.apache.org



Asif> ---------------------------------------------------------------------
Asif> To unsubscribe, e-mail:
Asif> tomcat-user-unsubscribe@jakarta.apache.org
Asif> For additional commands, e-mail:
Asif> tomcat-user-help@jakarta.apache.org



Best wishes
Ingmars Rubenis
LU
University of Latvia
Developer
IT Department
(371) 9227133
Mime
View raw message