I had similar symptoms this summer while trying to build a mod_perl-enabled
apache 1.3.12 on an HP-UX 10.20 box (this was with perl 5.6.0 and mod_perl
probably 1.2.4). I don't think anything useful showed
up in error_log, but I serendipitously found later that the test httpd
*worked* when I ran the test as a non-root user. This leads me to believe
that the problem results because of some environment settings, but I am not
sure. Also, while this test failed when run as root, I do believe the httpd
executable itself (which was subject to tests by a non-root user) worked.
So I was content enough to install it.
shimon.
On Thu, Oct 05, 2000 at 05:39:20PM -0400, Phil Freed wrote:
> I've seen this problem reported a half-dozen or so times on this list, but
> I cannot seem to find a resolution. I've been trying to install mod_perl ,
> but "make test" fails consistently.
>
> I'm using perl v5.6.0 , Solaris 5.7 , apache_1.3.12.
>
> There are two general classes of failures that I've seen. If I run
> perl Makefile.PL \
> EVERYTHING=1 \
> DO_HTTPD=1 \
> USE_APACI=1 \
> APACHE_SRC=/devel/src/apache_1.3.12/src
>
> I get the following from "make test":
>
> /devel/src/keep/apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d
> `pwd`/t &
> httpd listening on port 8529
> will write error_log to: t/logs/error_log
> letting apache warm up...done
> /usr/local/bin/perl t/TEST 1
> still waiting for server to warm up... ............not ok
> server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
> make: *** [run_tests] Error 9
>
>
> # cat t/logs/error*
> [notice] Destruction->DESTROY called for $global_object
> [Thu Oct 5 17:14:39 2000] [warn] [notice] child_init for process 21363,
> report any problems to [no address given]
>
> A 'ps' shows that process 21363 is running, but (no surprise here) it won't
> respond to a telnet to port 8259.
>
> ===============
>
> If I add PREP_HTTPD=1 to the initial make line, I get
>
> /devel/src/keep/apache_1.3.12/src/httpd -f `pwd`/t/conf/httpd.conf -X -d
> `pwd`/t &
> httpd listening on port 8529
> /bin/sh: /devel/src/keep/apache_1.3.12/src/httpd: not found
> will write error_log to: t/logs/error_log
> letting apache warm up...done
> /usr/local/bin/perl t/TEST 0
> still waiting for server to warm up...............not ok
> server failed to start! (please examine t/logs/error_log) at t/TEST line 95.
> make: *** [run_tests] Error 146
>
>
> This time there is no httpd process, and nothing in the logfile.
>
> ===============
>
> I assume these two errors are unrelated. I'd like to use the latter, and
> manually configure my apache server -- but I'll take whatever I can
> get. What am I missing?
>