Return-Path: Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 75975 invoked by uid 500); 16 Aug 2003 06:03:37 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 75964 invoked from network); 16 Aug 2003 06:03:37 -0000 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Sat, 16 Aug 2003 00:03:52 -0600 Subject: mp2 on osx jaguar won't load mod_perl.so From: Douglas Theobald To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 mod_perl.so, 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/mod_perl.so" 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 APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \ /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 modperl_extra.pl, pid=25065 -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html