Cory Omand wrote:
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

When running 'make test' as a non-root user, apache fails to create the
default AcceptMutex.  All tests fail, and the following is output to the
error_log:

[Tue Nov 02 17:16:22 2004] [emerg] (13)Permission denied: Couldn't
create accept lock
END in modperl_extra.pl, pid=3402
Attempt to free unreferenced scalar: SV 0xdf3062dc at
/opt/csw/share/perl/5.8.2/Test/Harness.pm line 31.
END in modperl_extra.pl, pid=3402
Attempt to free unreferenced scalar: SV 0xdf3062dc at
/opt/csw/share/perl/5.8.2/Test/Harness.pm line 31.

The default AcceptMutex for Apache 2.0.52 is 'fcntl'.  Changing this to
a mutex type that does not require any filesystem permissions, like
'pthread',
allows the tests to start properly:

It has nothing to do with either A-T or mod_perl, A-T just per-uses the globally installed httpd.conf for its configuration. So the problem is there. Change that file (you can see exactly which one by running t/TEST -conf -trace=debug) to do the right thing and everything will work just fine.


Please let us know if that was indeed the case.


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

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to