AIXTOOLS, IBM AIX and POWER Portal

AIX => AIXTOOLS => Topic started by: mirek on July 26, 2016, 03:15:09 PM

Title: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on July 26, 2016, 03:15:09 PM
Hi

Is there any chance to provide package in 64-bit XCOFF mode, instead of RISC System/6000, we have a requirement to use apache weblogic module and at the moment we can't as every package we have tried is compiled in 32bit (RISC System/6000) mode.

i.e
file mod_alias.so
mod_alias.so: executable (RISC System/6000) or object module not stripped
file mod_wl_24.so
mod_wl_24.so: 64-bit XCOFF executable or object module not stripped


Thanks a lot.
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on July 29, 2016, 09:18:47 AM
Yes, I can look into this.

Are you primarily looking for httpd-2.2.X or httpd-2.4.X ?
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on July 29, 2016, 09:36:07 AM
Hi

2.4 only, please.

Also, as we need it for SSO authentication, we would need an mod_auth_kerb in 64 bit version if it's not a huge problem.

Thanks a lot.
 
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on July 29, 2016, 04:01:40 PM
I expect it will take some effort, but I shall try.

First pass: I need to redo the apr dependencies in 64-bit, and I expect pcre.

I won't have it by this evening - but I hope by Monday morning.

FYI: as I cannot guess your environment/needs this will be an iterative process - and assuming success, I shall retire the 32-bit distributions (only special requests).
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on July 29, 2016, 07:14:44 PM
Hi,

Thanks a lot for you help, our requirement is to host Oracle Apex application with Single-Sign On. We would like to use mod_auth_kerb for SSO authentication and to connect to our Apex app we would like to use Oracle ORDS via Weblogic Server.  As Oracle is only using 64bit on AIX our only option is to use Apache and mod_auth_krb in 64bit mode. I hope it make sense :)

Thanks

Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on July 30, 2016, 02:57:14 PM
FYI: IBM also has a version of httpd - I am sure. The difference between mine and theirs, rather one of them, is price.

I am looking to getting ldap support (IBM ldap client) into this version as well (rather via apr-util).
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on August 17, 2016, 10:04:51 AM
Hi

Sorry for asking, but is there any update on this?

Thanks
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on August 17, 2016, 08:19:24 PM
I was distracted by the leaking valves in the basement. Will get started again tomorrow.

And thanks for the reminder. :)
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on August 18, 2016, 02:38:28 PM
I have apr and apr-util compiled in both 32 and 64-bit, and the last surprise is that I also need to dual support pcre (as httpd-2.4.X requires external pcre support).

So - ALMOST ready for testing (by you!)

Michael
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on August 21, 2016, 09:13:13 AM
I have a test bundle for you at http://download.aixtools.net/test/aixtools.httpd.xcoff64.test.tar.bz2

I have not had time to test that it installs everything needed. This is what I expect atm (I am looking at a way to not need the apr and apr-util filesets and/or at least make them smaller).

Basic instructions:
bzip2 -dc aixtools.httpd.xcoff64.test.tar.bz2 | tar xf -
installp -d . -aX all

Configure files are in /var/httpd/etc
Most other files are in /opt/httpd

"Let the testing begin!"
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on January 10, 2017, 06:23:53 PM
Been quite awhile since I had time to look at this.

My regular packaging (for httpd-2.4.X) is now 64-bit, and available via http://www.aixtools.net/index.php/httpd-2.4

There were still a few issues I found with the mod_authn* mods - now resolved!

Michael
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on January 10, 2017, 07:16:48 PM
Hi,

Thanks a lot for the package, I let you know if I found any issues with kerberos module.
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on January 11, 2017, 03:03:41 PM
I have not done a kerberos module (yet). If you have one, please share how you built it!
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on January 16, 2017, 08:58:52 AM
Hi, I have no idea how to do it, I need 64bit with Kerberos module to implement SSO authentication for our Apex application which is hosted on Weblogic server and oracle currently only supply 64bit weblogic apache plugin. If is too difficult then I guess I have to move use glassfish or tomcat to host our Apex application and use 32bit apache with Kerberos plugin.

Thanks for you help.
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on January 16, 2017, 12:13:50 PM
This is a study week - and it is on my list. Maybe I will have something at the end of the week.

Maybe it is easier than php!
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: mirek on January 16, 2017, 12:22:48 PM
Would be great if you could get it to work, as in terms of installation your package is the best out there, hence I would prefer to use your and get thing out of the box instead of getting things from multiple sources.

Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on January 17, 2017, 02:08:04 PM
Making progress. However, as the mod was written for httpd-2.2, not httpd-2.4 there are some issues I need to resolve - mainly unresolved symbols atm.
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on February 06, 2017, 08:32:03 PM
more progress - now the library that was not loading (i.e., did not have - -lcom_err) is fixed - I am guessing that there are some missing exports in the early(?) /usr/krb5/lib/libkrb5.a members. Have to learn how to create an .exp file and add that to the make "stuff".

In progress...
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: nigell on April 30, 2020, 12:16:10 PM
Hello,

I know I am on an old thread, but as it does not seem finished I hope it is fine to write here.

We have also met this issue, as we got a requirement for AD SSO from 64-bit Apache on AIX and I was wondering if that 64 bit mod_auth_kerb is available somewhere. (In fact it is IBM HTTP Server, but it is apache based and uses apache modules)

Thank you in advance!
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on May 01, 2020, 05:20:21 AM
I’ll look into it, likely next week.
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on May 04, 2020, 04:23:55 PM
FYI - getting started. Need to rebuild the build environment.
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: nigell on May 07, 2020, 07:18:36 AM
Hello,
I have missed that our AIX is 7.2, if matters. As I have looked at your other builds, you make them compatible with all versions (5,6,7), so that is also OK as it will be useful for a larger set of user cases. Also missed that Apache is 2.4
Title: Re: Apache HTTPD compiled as 64-bit XCOFF
Post by: Michael on May 08, 2020, 06:13:29 AM
For 7.2, is not supposed to matter.
Not sure how long I'll be able to support AIX 5.3, but I'll keep trying.