Re: [mp2] test server cannot start as non-root user with worker mpm

[prev] [thread] [next] [Date index for 2004/11/02]

From: Stas Bekman
Subject: Re: [mp2] test server cannot start as non-root user with worker mpm
Date: 22:44 on 02 Nov 2004
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:stas@xxxxxx.xxx 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

(message missing)

Re: [mp2] test server cannot start as non-root user with worker mpm
Stas Bekman 22:44 on 02 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52