perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Theobald <>
Subject mp2 on osx jaguar won't load
Date Sat, 16 Aug 2003 06:03:52 GMT
I've been quite successful with mp1 (Apache/1.3.28, mod_perl/1.28, perl
5.8.0, OSX jaguar 10.2.6.), but I'd really like to get mp2 going on OSX.
Has anyone had any luck or experienced this same problem?

Apache2, by itself, appears to compile and run just fine. I've found no
problems so far (though I'm not using it much since I want/need mp). I get
mp2 to compile without errors or warnings, and it successfully gives me a
mod_perl.a and, and will install them in apache2 correctly.
However, "make test" fails with a "server failed to start!" error (full
output below). 

I decided to screw the test and see what I could get it to do manually, so I
modified httpd.conf as described in the docs (added "LoadModule perl_module
modules/" and "PerlModule Apache2"). Commands such as "apachectl
start" and "httpd -k start" appear to work with no error or output
whatsoever, but httpd never fires up ('ps -aux | grep httpd' gives zilch).
Likewise, the error_log logs nothing. As soon as I commnet out the two perl
module lines in httpd.conf, httpd runs again just fine.

Now here's the strange part: if comment out the perl module lines in
httpd.conf and fire up httpd, *then* uncomment them and restart httpd, it
works temporarily. Mp modules run, my mod_perl directory has working mp
executables, etc. Even error_log registers "[notice] Apache/2.0.47 (Unix)
mod_perl/1.99_09 Perl/v5.8.0 configured -- resuming normal operations." At
least for a while, then it seems to stop working. An additional "apachectl
restart" definitely kills it and the server dies dead. Again, nothing to the
error_log or stdout/stderr.

Any ideas??

Here's the full mp2 "sudo make test" output:

chem134-218-dhcp/theobal> sudo make test
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Nothing to be done for `all'.
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -clean
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -clean
/usr/bin/perl -Iblib/arch/Apache2 -Iblib/lib/Apache2 \
t/TEST -verbose=0 
*** setting ulimit to allow core files
ulimit -c unlimited; t/TEST -verbose=0
*** root mode: changing the fs ownership to 'nobody' (4294967294:4294967294)
/usr/local/apache2//bin/httpd  -d /usr/local/mod_perl-1.99_09/t -f
/usr/local/mod_perl-1.99_09/t/conf/httpd.conf -DAPACHE2
using Apache/2.0.47 (prefork MPM)

waiting for server to start: ..[Fri Aug 15 23:35:16 2003] [info] 19 Apache::
modules loaded
[Fri Aug 15 23:35:16 2003] [info] 3 APR:: modules loaded
[Fri Aug 15 23:35:16 2003] [info] base server + 8 vhosts ready to run tests
waiting for server to start: giving up after 61 secs
!!! server failed to start! (please examine t/logs/error_log)
make: *** [run_tests] Error 1

And here's t/logs/error_log:

END in, pid=25065

Reporting bugs:
Mail list info:

View raw message