error logs in Apache:

error logs in Apache:

am 18.10.2007 13:22:25 von Sunil Chandrasekharan

hello,

I have installed Apache 2 and mod_jk2 connector. but when i start
apache my logs shows the following error.

Please help me understand it.


Apache/2.2.4 (Unix) mod_jk2/2.0.4 configured -- resuming normal
operations
[Thu Oct 18 16:16:15 2007] [error] channelApr.open() attempt to
connect to 127.0.0.1:8009 (localhost) failed 111
[Thu Oct 18 16:16:15 2007] [error] ajp13.connect() failed
ajp13:localhost:8009
[Thu Oct 18 16:16:15 2007] [error] ajp13.service() failed to connect
endpoint errno=9 Bad file descriptor
[Thu Oct 18 16:16:15 2007] [error] ajp13.service() Error forwarding
ajp13:localhost:8009 1 1
[Thu Oct 18 16:16:15 2007] [error] lb.service() worker failed 120000
for ajp13:localhost:8009
[Thu Oct 18 16:16:15 2007] [error] lb_worker.service() all workers in
error or disabled state
[Thu Oct 18 16:16:15 2007] [error] mod_jk2.handler() Error connecting
to tomcat 120000, status 503

Re: error logs in Apache:

am 18.10.2007 13:46:26 von Hans van Zijst

Hi Sunil,

It looks like Tomcat is not listening on port 8009. Apache (mod_jk)
tries to connect to Tomcat on this port, but can't.

You should check your Tomcat configuration. In server.xml should be a
directive that enables this listener. This is what I have:

enableLookups="false"
redirectPort="8443"
protocol="AJP/1.3"
debug="1"
/>

Kind regards,

Hans


Sunil Chandrasekharan wrote:
> hello,
>
> I have installed Apache 2 and mod_jk2 connector. but when i start
> apache my logs shows the following error.
>
> Please help me understand it.
>
>
> Apache/2.2.4 (Unix) mod_jk2/2.0.4 configured -- resuming normal
> operations
> [Thu Oct 18 16:16:15 2007] [error] channelApr.open() attempt to
> connect to 127.0.0.1:8009 (localhost) failed 111
> [Thu Oct 18 16:16:15 2007] [error] ajp13.connect() failed
> ajp13:localhost:8009
> [Thu Oct 18 16:16:15 2007] [error] ajp13.service() failed to connect
> endpoint errno=9 Bad file descriptor
> [Thu Oct 18 16:16:15 2007] [error] ajp13.service() Error forwarding
> ajp13:localhost:8009 1 1
> [Thu Oct 18 16:16:15 2007] [error] lb.service() worker failed 120000
> for ajp13:localhost:8009
> [Thu Oct 18 16:16:15 2007] [error] lb_worker.service() all workers in
> error or disabled state
> [Thu Oct 18 16:16:15 2007] [error] mod_jk2.handler() Error connecting
> to tomcat 120000, status 503
>