(120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to
okelet Sep 25, 2013 7:56 AMHi
I have the following environment:
- CentOS 6.0 x86_64
- Apache 2.2.15 compiled from source using this tutorial,as advised in this post
- JBoss 7.1.0
- mod_cluster 1.2.6 (native and jars)
- 2 nodes, each one with Apache and JBoss
The problem is that I get continously these type of errors:
[Wed Sep 25 13:04:57 2013] [error] ajp_handle_cping_cpong: ajp_ilink_receive failed [Wed Sep 25 13:04:57 2013] [error] (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to (null) (__IP1__) [Wed Sep 25 13:04:57 2013] [error] ajp_handle_cping_cpong: ajp_ilink_receive failed [Wed Sep 25 13:04:57 2013] [error] (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to (null) (__IP1__) [Wed Sep 25 13:04:57 2013] [error] ajp_handle_cping_cpong: ajp_ilink_receive failed [Wed Sep 25 13:04:57 2013] [error] (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to __IP1__:8309 (__IP1__) [Wed Sep 25 13:04:57 2013] [error] ajp_handle_cping_cpong: ajp_ilink_receive failed [Wed Sep 25 13:04:57 2013] [error] (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to __IP1__:8309 (__IP1__) [Wed Sep 25 13:04:58 2013] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state [Wed Sep 25 13:04:58 2013] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state [Wed Sep 25 13:04:58 2013] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state
To isolate the problems I have left just 1 node (I have powered off the other one), but the problem continues (__IP1__ is the IP of node 1). That errors makes to get continous 503 errors in Apache to the users. Any advice to continue debugging this error? Regards and thanks in advance.
These are my configuration files:
vhosts-000-defaults.conf
LoadModule slotmem_module modules/mod_slotmem.so LoadModule manager_module modules/mod_manager.so LoadModule proxy_cluster_module modules/mod_proxy_cluster.so LoadModule advertise_module modules/mod_advertise.so UseCanonicalName Off ServerAdmin sistemas.sscc@domain.es ServerSignature Off ServerTokens Minor NameVirtualHost *:80 <VirtualHost *:80> ErrorLog /var/log/httpd/error_log CustomLog /var/log/httpd/access_log combined ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On ProxyPassReverse / balancer://mycluster/ </VirtualHost> <VirtualHost *:443> SSLEngine On ErrorLog /var/log/httpd/error-ssl_log CustomLog /var/log/httpd/access-ssl_log combined RewriteEngine On RewriteRule ^/$ http://www.intranet.es [R,L] </VirtualHost>
vhosts-010-admin.conf
Listen 8880 NameVirtualHost *:8880 <VirtualHost *:8880> ErrorLog /var/log/httpd/error-admin_log CustomLog /var/log/httpd/access-admin_log combined ServerAdvertise On EnableMCPMReceive AllowDisplay On RewriteRule ^/mcm$ /mcm/ [R,L] <Location "/mcm/"> SetHandler mod_cluster-manager Order allow,deny Allow from all </Location> </VirtualHost>
vhosts-050-myapp.conf
<VirtualHost *:80> ServerName myapp.px.domain.es ErrorLog /var/log/httpd/error-myapp_log CustomLog /var/log/httpd/access-myapp_log combined RewriteEngine On RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R] </VirtualHost> <VirtualHost *:443> SSLEngine On ServerName myapp.px.sacyl.es ErrorLog /var/log/httpd/error-myapp_ssl_log CustomLog /var/log/httpd/access-myapp_ssl_log combined RewriteEngine On RewriteRule ^/$ /myapp [R,L] RewriteRule ^/myapp$ /myapp/ [R,L] ProxyPass /vere/ balancer://mycluster/vere/ stickysession=JSESSIONID|jsessionid ProxyPassReverse /vere/ balancer://mycluster/vere/ </VirtualHost>