You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ron Grunwald <ro...@ecu.edu.au> on 2005/03/09 09:00:12 UTC

Problem running 'make test' on MacOSX

Dear modperl users,

I'm attempting to build and install mod_perl 2 for Apache 2.0.53
on MacOSX 10.3 (Darwin kernel 7.7.0). The source distribution
for mod_perl (2.0.0-RC4) compiled cleanly without any problems.
However, when I attempt to run "make test", the test Apache server
fails to start and consequently aborts.

I am running "make test" under my login, and I have full write
permissions in /usr/local/src which is where mod_perl and httpd
are built. I'm just wondering if anyone else has attempted this
on a MacOSX platform and experienced similar behaviour ? Any
suggestions would be most appreciated.

Cheers, Ron.


Below is the console output generated from "make test".

sh-2.05b$ pwd
/usr/local/src/mod_perl-2.0.0-RC4
sh-2.05b$ make test
cd "src/modules/perl" && make
make[1]: Nothing to be done for `all'.
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl  
/usr/local/src/mod_perl-2.0.0-RC4/t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=  
APACHE_TEST_USER= APACHE_TEST_APXS= \
/usr/local/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/local/bin/perl  
/usr/local/src/mod_perl-2.0.0-RC4/t/TEST -bugreport -verbose=0
/usr/local/apache2/bin/httpd  -d /usr/local/src/mod_perl-2.0.0-RC4/t -f  
/usr/local/src/mod_perl-2.0.0-RC4/t/conf/httpd.conf -D APACHE2 -D  
PERL_USEITHREADS
using Apache/2.0.53 (prefork MPM)

waiting 120 seconds for server to start: ..[Tue Mar 08 11:54:25 2005]  
[info] 7 Apache:: modules loaded
[Tue Mar 08 11:54:25 2005] [info] 0 APR:: modules loaded
[Tue Mar 08 11:54:25 2005] [info] base server + 27 vhosts ready to run  
tests
.............
waiting 120 seconds for server to start: ok (waited 15 secs)
server localhost:8529 started
server localhost:8530 listening (filter_out_apache)
server localhost:8531 listening (TestModperl::merge)
server localhost:8532 listening (TestModperl::perl_options)
server localhost:8533 listening (TestModperl::setupenv)
server localhost:8534 listening (TestModules::proxy)
server localhost:8535 listening (TestUser::rewrite)
server localhost:8536 listening (TestVhost::config)
server localhost:8537 listening (TestVhost::log)
server localhost:8538 listening (TestProtocol::echo_bbs)
server localhost:8539 listening (TestProtocol::echo_bbs2)
server localhost:8540 listening (TestProtocol::echo_block)
server localhost:8541 listening (TestProtocol::echo_filter)
server localhost:8542 listening (TestProtocol::echo_nonblock)
server localhost:8543 listening (TestProtocol::echo_timeout)
server localhost:8544 listening (TestProtocol::pseudo_http)
server localhost:8545 listening (TestPreConnection::note)
server localhost:8546 listening (TestHooks::hookrun)
server localhost:8547 listening (TestHooks::init)
server localhost:8548 listening (TestHooks::stacked_handlers2)
server localhost:8549 listening (TestHooks::startup)
server localhost:8550 listening (TestHooks::trans)
server localhost:8551 listening (TestFilter::both_str_con_add)
server localhost:8552 listening (TestFilter::in_bbs_inject_header)
server localhost:8553 listening (TestFilter::in_bbs_msg)
server localhost:8554 listening (TestFilter::in_str_msg)
server localhost:8555 listening (TestDirective::perlmodule)
server localhost:8556 listening (TestDirective::perlrequire)
server localhost:8557 listening (TestDirective::perlloadmodule3)
server localhost:8558 listening (TestDirective::perlloadmodule4)
server localhost:8559 listening (TestDirective::perlloadmodule5)
server localhost:8560 listening (TestDirective::perlloadmodule6)

still waiting for server to warm up:  
........................................................................ 
.................................................
the server is down, giving up after 121 secs
[  error] failed to start server! (please examine t/logs/error_log)
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
make: *** [run_tests] Error 1
sh-2.05b$ cat t/logs/error_log
END in modperl_extra.pl, pid=19683
[Tue Mar 08 11:54:39 2005] [emerg] (13)Permission denied: Couldn't  
create accept lock
END in modperl_extra.pl, pid=19687
sh-2.05b$


============================================
Author      : Ron Grunwald
Position    : IT Desktop Support Officer
Organisation: Edith Cowan University
Faculty     : KITSC
Location    : Mount Lawley, Western Australia
Email       : ron.grunwald@ecu.edu.au
Alt. Email  : rongrw@yahoo.com.au
Telephone   : 9370 6168
Mobile Ph.  : 0419 041 786
============================================
"He who play with root will eventually kill tree !"


Re: Problem running 'make test' on MacOSX

Posted by Stas Bekman <st...@stason.org>.
Ron Grunwald wrote:
> Dear modperl users,
> 
> I'm attempting to build and install mod_perl 2 for Apache 2.0.53
> on MacOSX 10.3 (Darwin kernel 7.7.0). The source distribution
> for mod_perl (2.0.0-RC4) compiled cleanly without any problems.
> However, when I attempt to run "make test", the test Apache server
> fails to start and consequently aborts.
> 
> I am running "make test" under my login, and I have full write
> permissions in /usr/local/src which is where mod_perl and httpd
> are built. I'm just wondering if anyone else has attempted this
> on a MacOSX platform and experienced similar behaviour ? Any
> suggestions would be most appreciated.
[...]
> [Tue Mar 08 11:54:39 2005] [emerg] (13)Permission denied: Couldn't  
> create accept lock

Ron, please take a look at this thread:
http://www.issociate.de/board/post/132440/%5Bmp2%5D_test_server_cannot_start_as_non-root_user_with_worker_mpm.html
Cory didn't followup on his proposal.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com