Please login or register. October 21, 2017, 03:59:47 PM

Author Topic: Apache HTTPD compiled as 64-bit XCOFF  (Read 2935 times)

0 Members and 1 Guest are viewing this topic.

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Apache HTTPD compiled as 64-bit XCOFF
« 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.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #1 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 ?

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #2 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.
 

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #3 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).
« Last Edit: July 29, 2016, 04:14:37 PM by Michael »

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #4 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


Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #5 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).

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #6 on: August 17, 2016, 10:04:51 AM »
Hi

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

Thanks

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #7 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. :)

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #8 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

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #9 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!"

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #10 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

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #11 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.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #12 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!

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #13 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.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #14 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!

mirek

  • Jr. Member
  • **
  • Posts: 7
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #15 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.


Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #16 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.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1052
  • Karma: +0/-0
Re: Apache HTTPD compiled as 64-bit XCOFF
« Reply #17 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...