Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
Unfortunately, although it builds fine, it does not start: httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load /opt/httpd/libexec/mod_mpm_worker.so into server: rtld: 0712-001 Symbol ap_fatal_signal_setup was referenced\n from module /opt/httpd/libexec/mod_mpm_worker.so(), b

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
Update: configure argument changed to --with-mpm=prefork and at least it loads: + michael@x054:[/etc]/opt/httpd/sbin/apachectl -t AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.129.54. Set the 'ServerName' directive globally to sup

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Graham Leggett
On 26 Feb 2012, at 10:30 PM, Michael Felt wrote: > Unfortunately, although it builds fine, it does not start: > > httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load > /opt/httpd/libexec/mod_mpm_worker.so into server: rtld: 0712-001 Symbol > ap_fatal_signal_setup was reference

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
I am quite sure. Just ran a build with --with-mpm=worker and that works fine as well. Currently building again with: ./configure \ --enable-layout=$LAYOUT \ --with-apr=$apr_config \ --with-apr-util=$apu_config \ --enable-mpms-

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
michael@x054:[/data/prj/httpd-2.4.1]/opt/httpd/sbin/apachectl -t ksh: /opt/httpd/sbin/apachectl: not found. michael@x054:[/data/prj/httpd-2.4.1]installp -d /data/prj/httpd*.1/build/aix -ac ASF.httpd.rte +-+

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Jeff Trawick
On Sun, Feb 26, 2012 at 3:30 PM, Michael Felt wrote: > Unfortunately, although it builds fine, it does not start: > > httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load > /opt/httpd/libexec/mod_mpm_worker.so into server: rtld: 0712-001 Symbol > ap_fatal_signal_setup was referenc

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
I am not so smart I fear, and still no svm installed (working on building gnudiff, but not done yet... root@x105:[/data/prj/httpd-2.4.1]patch -i *patch Processing... I cannot find a patch in there anywhere. On Sun, Feb 26, 2012 at 10:44 PM, Jeff Trawick wrote: > On Sun, Feb 26, 2012 at 3:30 P

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
re: not exported... They are not in the .o files either (or is that because they are not exported?) On Sun, Feb 26, 2012 at 10:51 PM, Michael Felt wrote: > I am not so smart I fear, and still no svm installed (working on building > gnudiff, but not done yet... > > root@x105:[/data/prj/httpd-2.4.

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
:) patch from AIX 6.1 works, starting build. On Sun, Feb 26, 2012 at 10:52 PM, Michael Felt wrote: > re: not exported... They are not in the .o files either (or is that > because they are not exported?) > > > On Sun, Feb 26, 2012 at 10:51 PM, Michael Felt wrote: > >> I am not so smart I fear, a

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
er, almost working: michael@x054:[/data/prj/httpd-2.4.1]patch -p0 -i *.patch Processing... Looks like a unified context diff... The text leading up to this was: -- |Index: include/mpm_common.h |=== |--- include

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
patched manually, building... On Sun, Feb 26, 2012 at 10:56 PM, Michael Felt wrote: > er, almost working: > michael@x054:[/data/prj/httpd-2.4.1]patch -p0 -i *.patch > Processing... Looks like a unified context diff... > The text leading up to this was: > -- > |Index: inc

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Jeff Trawick
On Sun, Feb 26, 2012 at 5:09 PM, Michael Felt wrote: > patched manually, building... ouch... maybe you have GNU patch installed as gpatch from the AIX Toolbox? anyway, in a subsequent e-mail I noticed other missing symbols... that's in the latest patch and, for the patch impaired, updated mpm_c

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-26 Thread Michael Felt
OK, well, I'll work on getting the tools built. The RPM's are often ancient and/or have strange dependencies I am trying to avoid. tomorrow will do more. On Sun, Feb 26, 2012 at 11:13 PM, Jeff Trawick wrote: > On Sun, Feb 26, 2012 at 5:09 PM, Michael Felt wrote: > > patched manually, building..

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Michael Felt
The patch impaired me moved the file to ./include and rebuilt. Similiar issues: httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load /opt/httpd/libexec/mod_mpm_worker.so into server: rtld: 0712-001 Symbol ap_fatal_signal_child_setup was referenced from module /opt/httpd/libexec/mod

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Graham Leggett
On 27 Feb 2012, at 11:25 AM, Michael Felt wrote: > The patch impaired me moved the file to ./include and rebuilt. > Similiar issues: > httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load > /opt/httpd/libexec/mod_mpm_worker.so into server: > rtld: 0712-001 Symbol ap_fatal_signal_

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Jeff Trawick
On Mon, Feb 27, 2012 at 4:25 AM, Michael Felt wrote: > The patch impaired me moved the file to ./include and rebuilt. > Similiar issues: > > httpd: Syntax error on line 143 of /etc/httpd/httpd.conf: Cannot load > /opt/httpd/libexec/mod_mpm_worker.so into server: > rtld: 0712-001 Symbol ap_fatal_si

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Michael Felt
That fixed it! michael@x054:[/data/home/michael]/opt/httpd/sbin/apachectl -t AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.129.54. Set the 'ServerName' directive globally to suppress this message Syntax OK Further testing continues... On Mon,

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Jeff Trawick
On Mon, Feb 27, 2012 at 4:58 PM, Michael Felt wrote: > That fixed it! > michael@x054:[/data/home/michael]/opt/httpd/sbin/apachectl > -t > AH00558: httpd: Could not reliably determine the server's fully qualified > domain name, using 192.168.129.54. Set the 'ServerName' directive globally > to supp

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Michael Felt
Works, but... the prefork loadmodule line needed to be added manually #LoadModule mpm_worker_module libexec/mod_mpm_worker.so LoadModule mpm_prefork_module libexec/mod_mpm_prefork.so LoadModule unixd_module libexec/mod_unixd.so #LoadModule heartbeat_module libexec/mod_heartbeat.so #LoadModule hear

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Graham Leggett
On 28 Feb 2012, at 12:14 AM, Michael Felt wrote: > Works, but... > the prefork loadmodule line needed to be added manually AFAIK mod_mpm_event is the default now. > #LoadModule mpm_worker_module libexec/mod_mpm_worker.so > LoadModule mpm_prefork_module libexec/mod_mpm_prefork.so > LoadModule uni

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Jeff Trawick
On Mon, Feb 27, 2012 at 5:14 PM, Michael Felt wrote: > Works, but... thanks > the prefork loadmodule line needed to be added manually that's expected; you only get one MPM LoadModule directive... > > #LoadModule mpm_worker_module libexec/mod_mpm_worker.so > LoadModule mpm_prefork_module libexe

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Jeff Trawick
On Mon, Feb 27, 2012 at 5:20 PM, Graham Leggett wrote: > On 28 Feb 2012, at 12:14 AM, Michael Felt wrote: > >> Works, but... >> the prefork loadmodule line needed to be added manually > > AFAIK mod_mpm_event is the default now. Event requires some APR poll features not implemented on AIX... The

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Michael Felt
so, mod_mpm_event... I have, with the patch just supplied for build/aix the following mods: michael@x054:[/opt/httpd/libexec]ls -l *mpm* -rwxr-xr-x1 root system53006 Feb 27 21:38 mod_mpm_prefork.so -rwxr-xr-x1 root system86085 Feb 27 21:38 mod_mpm_worker.so michael@

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Michael Felt
FYI - with all LoadModules activated (only one of prefork/worker) Syntax OK, with both MPM active gives error, as expected (AH00534: httpd: Configuration error: More than one MPM loaded.) On Mon, Feb 27, 2012 at 11:26 PM, Michael Felt wrote: > so, mod_mpm_event... > > I have, with the patch jus

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-27 Thread Rainer Jung
On 27.02.2012 23:14, Michael Felt wrote: LoadModule unixd_module libexec/mod_unixd.so #LoadModule heartbeat_module libexec/mod_heartbeat.so #LoadModule heartmonitor_module libexec/mod_heartmonitor.so #LoadModule dav_module libexec/mod_dav.so LoadModule status_module libexec/mod_status.so LoadModu

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-02-28 Thread Michael Felt
it was easy to reset -- cp /etc/httpd/original/httpd.conf /etc/httpd But I shall remember that for the future! On Tue, Feb 28, 2012 at 7:37 AM, Rainer Jung wrote: > On 27.02.2012 23:14, Michael Felt wrote: > >> LoadModule unixd_module libexec/mod_unixd.so >> #LoadModule heartbeat_module libexec/

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-06 Thread Guenter Knauf
Hi Jeff, Am 26.02.2012 22:44, schrieb Jeff Trawick: I guess the problem is that those MPM APIs are not decorated with AP_DECLARE() so they don't get added to httpd.exp so they don't get exported from httpd on AIX. Can you try the attached patch to mpm_common.h? it seems that this breaks the NetW

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-07 Thread Jeff Trawick
On Tue, Mar 6, 2012 at 8:00 PM, Guenter Knauf wrote: > Hi Jeff, > Am 26.02.2012 22:44, schrieb Jeff Trawick: > >> I guess the problem is that those MPM APIs are not decorated with >> AP_DECLARE() so they don't get added to httpd.exp so they don't get >> exported from httpd on AIX. >> >> Can you tr

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Guenter Knauf
Hi Jeff, Am 07.03.2012 13:27, schrieb Jeff Trawick: On Tue, Mar 6, 2012 at 8:00 PM, Guenter Knauf wrote: Hi Jeff, Am 26.02.2012 22:44, schrieb Jeff Trawick: I guess the problem is that those MPM APIs are not decorated with AP_DECLARE() so they don't get added to httpd.exp so they don't get ex

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread William A. Rowe Jr.
On 3/15/2012 1:47 PM, Guenter Knauf wrote: > any news on that? Sorry, but unless you give a clear statement on how to > proceed with > these I'm unable to fix it self; if you say that these functions need to be > extported by > every platform then fine - we must then either provide dummies for th

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Jeff Trawick
On Thu, Mar 15, 2012 at 2:47 PM, Guenter Knauf wrote: > Hi Jeff, > Am 07.03.2012 13:27, schrieb Jeff Trawick: > >> On Tue, Mar 6, 2012 at 8:00 PM, Guenter Knauf  wrote: >>> >>> Hi Jeff, >>> Am 26.02.2012 22:44, schrieb Jeff Trawick: >>> I guess the problem is that those MPM APIs are not decor

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Guenter Knauf
Jeff, Am 15.03.2012 22:32, schrieb Jeff Trawick: The short form is that I'm going to revert the trunk commit(s) today, and when there's a good solution I'll put them back with the fix and propose them for backport to 2.4.x. if we are fine with few '#ifndef NETWARE' in mpm_common.h then I commit

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Jeff Trawick
On Thu, Mar 15, 2012 at 5:48 PM, Guenter Knauf wrote: > Jeff, > Am 15.03.2012 22:32, schrieb Jeff Trawick: > >> The short form is that I'm going to revert the trunk commit(s) today, >> and when there's a good solution I'll put them back with the fix and >> propose them for backport to 2.4.x. > > i

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Guenter Knauf
Jeff, Am 16.03.2012 00:33, schrieb Jeff Trawick: On Thu, Mar 15, 2012 at 5:48 PM, Guenter Knauf wrote: Jeff, Am 15.03.2012 22:32, schrieb Jeff Trawick: The short form is that I'm going to revert the trunk commit(s) today, and when there's a good solution I'll put them back with the fix and pr

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Jeff Trawick
On Thu, Mar 15, 2012 at 7:47 PM, Guenter Knauf wrote: > Jeff, > Am 16.03.2012 00:33, schrieb Jeff Trawick: > >> On Thu, Mar 15, 2012 at 5:48 PM, Guenter Knauf  wrote: >>> >>> Jeff, >>> Am 15.03.2012 22:32, schrieb Jeff Trawick: >>> The short form is that I'm going to revert the trunk commit(s

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-15 Thread Guenter Knauf
Am 16.03.2012 00:53, schrieb Jeff Trawick: whoops, just reverted :) darn! I should have commited mpm_common.h change 1st instead of the awk fix - then you would have faced the conflict :D Gün.

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-16 Thread Michael Felt
Does this mean AIX is now broken? On Fri, Mar 16, 2012 at 1:00 AM, Guenter Knauf wrote: > Am 16.03.2012 00:53, schrieb Jeff Trawick: > >> whoops, just reverted :) >> > darn! I should have commited mpm_common.h change 1st instead of the awk > fix - then you would have faced the conflict :D > > Gü

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-16 Thread Guenter Knauf
Hi Michael, Am 16.03.2012 16:01, schrieb Michael Felt: Does this mean AIX is now broken? yep - but stay tuned, I will soon bring back a fxied version of Jeff's patch ... Gün.

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-18 Thread Michael Felt
I hope 2.4.2 can wait for the patch! I shall cherish my patched source tree for now then. On Sat, Mar 17, 2012 at 3:55 AM, Guenter Knauf wrote: > Hi Michael, > Am 16.03.2012 16:01, schrieb Michael Felt: > > Does this mean AIX is now broken? >> > yep - but stay tuned, I will soon bring back a fx

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-20 Thread Guenter Knauf
Hi Michael, Am 18.03.2012 19:16, schrieb Michael Felt: I hope 2.4.2 can wait for the patch! I shall cherish my patched source tree for now then. I've just comitted the patch with r1303201 - please verify that it still works for ya! Jeff, please take aso a look and check if I did catch all ... G

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-20 Thread Gregg Smith
Gün, It Works! On 3/20/2012 4:18 PM, Guenter Knauf wrote: Gregg, can you please run a Windows build? Gün.

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-21 Thread Michael Felt
On Wed, Mar 21, 2012 at 2:36 AM, Gregg Smith wrote: > Gün, > > It Works! > > > On 3/20/2012 4:18 PM, Guenter Knauf wrote: > >> >> Gregg, can you please run a Windows build? >> >> Gün. >> > > tried to build from fresh apr, apr-util and httpd-trunk could not run buildconf for apr because I do not

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-21 Thread Michael Felt
root@x103:[/data/prj/httpd-trunk]mv ../apr ../aprx root@x103:[/data/prj/httpd-trunk]./buildconf You don't have a copy of the apr source in srclib/apr. Please get the source using the following instructions, or specify the location of the source with --with-apr=[path to apr] : svn co http://svn

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-21 Thread Michael Felt
root@x103:[/data/prj/httpd-trunk]build/aix/buildaix.ksh + ./configure --enable-layout=AIX --with-apr=/opt/bin/apr-1-config --with-apr-util=/opt/bin/apu-1-config --enable-mpms-shared=all --enable-mods-shared=all

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-21 Thread Michael Felt
Unfortunately - 2.4.2 is a nogo... Same compiler warning messages, install and then ... Installation Summary NameLevel PartEvent Result --- ASF.httpd.rt

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-21 Thread Guenter Knauf
Am 21.03.2012 19:45, schrieb Michael Felt: Unfortunately - 2.4.2 is a nogo... Same compiler warning messages, install and then ... Installation Summary NameLevel PartEvent Result ---

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-22 Thread Michael Felt
Will do Gun. Thanks for the feedback. Like this in the future (or as an attachment - although I assumed (my error) you would cut/paste into a "notebook" - which is how I clear up formats I cannot read). In any case I hope you know what you need to know - I was not sure which one was needing testi

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-22 Thread Guenter Knauf
Hi Michael, Am 22.03.2012 10:53, schrieb Michael Felt: Will do Gun. Thanks for the feedback. Like this in the future (or as an attachment - although I assumed (my error) you would cut/paste into a "notebook" - which is how I clear up formats I cannot read). In any case I hope you know what you

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-22 Thread Michael Felt
My development machines are different - just seems like a lot of dependancies for perl modules - I assume perl is alos used (elsewhere) for production environments. Last time I worked with CPAN to any extent was 8 to 10 years ago - and it "worked" better on UNIX, read AIX. As I want to test on AIX

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-25 Thread Guenter Knauf
Hi Michael, Am 21.03.2012 19:45, schrieb Michael Felt: Unfortunately - 2.4.2 is a nogo... here's the 2.4.x patch I've just proposed for backport: http://people.apache.org/~fuankg/diffs/mpm_dso_exports.diff Gün.

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-26 Thread Guenter Knauf
Hi Michael, Am 26.03.2012 23:50, schrieb Michael Felt: Installation Summary NameLevel PartEvent Result --- ASF.httpd.rte 2.4.2.0 U

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-27 Thread Michael Felt
since my packaging scripts are not part of apr or apr-util I believe the following change is warrented: --- httpd-2.4.x/build/aix/buildaix.ksh (revision 1305578) +++ httpd-2.4.x/build/aix/buildaix.ksh (working copy) @@ -62,14 +62,12 @@ if [ ! -f "$apr_config" -a ! -f "$apr_config/configure.in"

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-28 Thread Guenter Knauf
Hi Michael, Am 27.03.2012 09:07, schrieb Michael Felt: since my packaging scripts are not part of apr or apr-util I believe the following change is warrented: --- httpd-2.4.x/build/aix/buildaix.ksh (revision 1305578) +++ httpd-2.4.x/build/aix/buildaix.ksh (working copy) @@ -62,14 +62,12 @@

Re: Cannot start httpd v2.4.1 with mpm_build on AIX

2012-03-29 Thread Michael Felt
The patched 2.4.2 version passes the syntax test: Installation Summary NameLevel PartEvent Result --- ASF.httpd.rte 2.4.2.0 USR