-
1. Re: Apache 2.2.31 and mod_cluster 1.2.6 mismatch
mbabacek May 3, 2016 5:22 AM (in response to ck6356)Dear Chris, you should not, or I would even say must not, use mod_cluster 1.2.6 It is a vastly obsolete version comprising serious performance and CVE issues.
On the issue of mismatch detected: Contrary to what you found on that Bugzilla, it is actually an issue (with that Bugzilla, it was ascertained that it was OK at the time with that particular version). The problem is mod_cluster relies on mod_proxy's internal (private) APIs that could change with any httpd patch or even more likely with a micro updates. To be safe from intermittent Segfaults caused by a different structure sizes, one has to recompile mod_cluster with any new httpd. It is O.K. for you to use different versions of mod_cluster on Apache HTTP Server side and JBoss AS/Wildfly side -- the protocol they talk to each other with is the same up to mod_cluster 1.3.2.
If you need assistance with recompiling mod_cluster with your particular version of httpd, tell us the operating system and architecture you use and we will be glad to help you.
Cheers
-K-
-
2. Re: Apache 2.2.31 and mod_cluster 1.2.6 mismatch
ck6356 May 4, 2016 3:10 PM (in response to mbabacek)Thanks Michal. Should I be targeting mod_cluster 1.3.2 then for use with my Apache 2.2.31? I did not move to 1.3.1, because the binaries from here (mod_cluster - Downloads - JBoss Community) would not load (Apache 2.4 compatibility issue). The source from the same location came with Apache HTTP which I do not need, because I have an existing Apache installation. I did try looking at the docs for how to compile, and found another source repository here (Tags · modcluster/mod_cluster · GitHub). I'm not sure of the relationship between each of these repositories. Yes, I would appreciate assistance compiling mod_cluster with httpd. I am currently using RHEL 6.6 x86 64 bit. Is there a way to compile just the mod_cluster modules only, as stand-alone, so I can simply add them to an existing Apache installation? I do not actually manage the Apache for my environment.
-
3. Re: Apache 2.2.31 and mod_cluster 1.2.6 mismatch
mbabacek May 6, 2016 1:34 PM (in response to ck6356)Dear Chris, there is nothing dodgy about it. git clone, cmake, make...
The following example is an ASCII recorded terminal session that walks one through on Fedora 24: Examples – mod_cluster
Note that cmake build file wasn't part of the older versions. For them, one has to either copy that CMakeLIsts file or use Autotools: Documentation – mod_cluster
Cheers
-K-
-
4. Re: Apache 2.2.31 and mod_cluster 1.2.6 mismatch
joaocunhalopes Aug 3, 2016 12:15 PM (in response to mbabacek)Hi Michal,
I could use some help compiling mod_cluster 1.3.1 Final for Apache 2.2.31 on Windows 32 bit (x86).
Any chance you can guide me through the compile process?
Thank you.
J
-
6. Re: Apache 2.2.31 and mod_cluster 1.2.6 mismatch
mbabacek Aug 25, 2016 5:51 AM (in response to joaocunhalopes)This is how you compile on Windows: mod_proxy_cluster/README.md at master · modcluster/mod_proxy_cluster · GitHub
Beware of renaming the repo from mod_cluster to mod_proxy_cluster, so one might to adjust a name or two in the tutorial.
Cheers
-k-
-
7. Re: Apache 2.2.31 and mod_cluster 1.2.6 mismatch
mbabacek Aug 25, 2016 5:52 AM (in response to jfclere)This is probably posted by mistake - it's for Linux and for an obsolete version.