-
1. Re: no reponse for mod_cluster_manager
rhusar Jul 15, 2013 7:22 AM (in response to fnossair)No response - can you elaborate? What is the response code, turn on LogLevel debug and see what does it say in error.log, make sure that you have your host allowed, you are trying on the right vhost/port, etc.
I remember there was a bug on sparc long time ago where the response was empty, I doubt this would be the same issue, but also share your version, OS and architecture.
-
2. Re: no reponse for mod_cluster_manager
fnossair Jul 15, 2013 8:44 AM (in response to rhusar)i get the code
Etat HTTP 404
-
3. Re: no reponse for mod_cluster_manager
rhusar Jul 15, 2013 9:15 AM (in response to fnossair)404 means "not found" and that means you dont have mod_cluster_manager at this address. Look closely at your HTTPd configuration what host + port + address you register mod_cluster_manager at.
Usually you access at 127.0.0.1:6666/mod_cluster_manager if your configuration looks like this:
<IfModule manager_module> Listen 127.0.0.1:6666 ManagerBalancerName mycluster <VirtualHost 127.0.0.1:6666> .... <Location /mod_cluster_manager> SetHandler mod_cluster-manager Order deny,allow Deny from all Allow from 127.0.0 </Location> </VirtualHost> </IfModule>
-
4. Re: no reponse for mod_cluster_manager
fnossair Jul 15, 2013 10:28 AM (in response to rhusar)this is my config
# MOD_CLUSTER_ADDS
<IfModule manager_module>
Listen adr_apache:8796
ManagerBalancerName mycluster
<VirtualHost adr_apache:8796>
<Directory />
Order deny,allow
# Deny from all
Allow from adr_jboss1,adr_jboss2
</Directory>
EnableMCPMReceive
KeepAliveTimeout 300
MaxKeepAliveRequests 0
#ServerAdvertise on http://@IP@:6666
AdvertiseFrequency 5
#AdvertiseSecurityKey secret
#AdvertiseGroup @ADVIP@:23364
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
# Deny from all
Allow from adr_jboss1,adr_jboss2
</Location>
</VirtualHost>
</IfModule>
but now when i use http://adr_apache:8796/mod_cluster_manager, it take a while and i get a time out.
-
5. Re: no reponse for mod_cluster_manager
rhusar Jul 15, 2013 10:39 AM (in response to fnossair)Sorry, so timeout or 404? :-)
-
6. Re: no reponse for mod_cluster_manager
mbabacek Jul 15, 2013 11:00 AM (in response to fnossair)Hey...according to this bit:
Allow from adr_jboss1,adr_jboss2
It kinda looks like you allowed only your workers to access the mod_cluster manager console.
Put there the actual IP of the box from which you are trying to access that console, perhaps, your workstation? Your workers don't need to be granted this permission.
Furthermore, pay pretty close attention to stuff like mod_cluster-manager != mod-cluster-manager != mod_cluster_manager etc.
The only valid mapping for mod_cluster 1.2.+ is:
<Location /whateverYouAreComfortableWith>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from :-)
</Location>
-
7. Re: no reponse for mod_cluster_manager
fnossair Jul 15, 2013 1:01 PM (in response to mbabacek)Radoslav :
when i use http://adr_apache:8796/mod_cluster_manager, i get a time out. and when i use http://adr_apache:8080/mod_cluster_manager (because i have a "Listen 8080" in my httpd.conf), i get 404.
Michal :i change the config like that
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
# Deny from all
Allow from all
</Location>
and i still have the same behavior
-
8. Re: no reponse for mod_cluster_manager
rhusar Jul 16, 2013 5:26 AM (in response to fnossair)and when i use http://adr_apache:8080/mod_cluster_manager (because i have a "Listen 8080" in my httpd.conf), i get 404.
Thats correct, that location is not registered on that address (look in the conf: 8796).
Michal :
i change the config like that
<Location /mod_cluster_manager>
SetHandler mod_cluster-manager
Order deny,allow
# Deny from all
Allow from all
</Location>
and i still have the same behavior
That cannot help a timeout -- you would get a 403 instead.
when i use http://adr_apache:8796/mod_cluster_manager, i get a time out.
This is not OK, still sounds like a bug. Can you set LogLevel debug and look in the error log?
-
9. Re: no reponse for mod_cluster_manager
fnossair Jul 16, 2013 6:06 AM (in response to rhusar)it works now. thnaks for youre response.
the 8796 port was blocked. it's not a problem in the Jboss.
thanks Radoslav,
thanks Michal