httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7921] - perchild: apr_proc_mutex_[un]lock failed...
Date Thu, 20 Mar 2003 08:48:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7921>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7921

perchild: apr_proc_mutex_[un]lock failed...





------- Additional Comments From dobradovic@gmx.de  2003-03-20 08:48 -------
Hi!

I'm afraid the switch to "fcntl" didn't solve my problem. When I had "default"
it tried at least to start the child with the correct uid/gid, now it starts 4
apache processes as root, and one of them tries to handle my request to the
virtual host. It's somewhat weired, as I get a "permission denied" then...

The vhost is this:
>>>>>
<VirtualHost [IP]>
        DocumentRoot /home/kiw/htdocs
        ServerName mydomain.tld
        ServerPath /home/kiw/htdocs
        ScriptAlias /cgi-bin/ /home/kiw/htdocs/cgi-bin/
        AssignUserID kiw users
        ErrorLog /var/log/apache2/kiw-error_log
        CustomLog /var/log/apache2/kiw-access_log combined
</VirtualHost>
<<<<<

And the section from the main conf-file is this:
>>>>>
<IfModule perchild.c>
        NumServers           1
        StartThreads         2
        MinSpareThreads      1
        MaxSpareThreads      4
        MaxThreadsPerChild  10
        MaxRequestsPerChild  0
        AcceptMutex default
        ChildPerUserID kiw users 1
</IfModule>
<<<<<

Platform is Linux on x86, Apache is 2.0.44.
It obviously starts up fine, but I don't get a process with the appropriate
uid/gid and a permission denied when trying to access the website:
>>>>>
[Thu Mar 20 09:42:51 2003] [error] [client 217.84.193.150] client denied by
server configuration: /home/kiw/htdocs/
<<<<<

The directory is world-readable/-accessible.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message