You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jonas Eriksson <jo...@webkonsulterna.com> on 2002/11/26 16:42:54 UTC

MPM perchild.

Hi

I Still get error "Unable to find process with matching uid/gid."
after compileing 2.43 with
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc
hild/perchild.c

Any ideas?



Re: MPM perchild.

Posted by Enrico Weigelt <we...@metux.de>.
On Tue, Nov 26, 2002 at 06:44:13PM +0100, Jonas Eriksson wrote:

<snip>
> /usr/local/apache2.0.43/conf/httpd.conf
> [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
> child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
> 0
> [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
> child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
> 1
> [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
> child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
> 2

Little question about ChildPerUserId. The manual states, that the 
first parameter n is the ID of the child to assign, but the 
set_child_per_user_id function seems to assign n childs to the given uid/gid.

is that ok ?

~-n
--
Bestes Mittel gegen Mailviren: Outlook löschen.
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux ITS 
 Webhosting ab 5 EUR/Monat.          UUCP, rawIP und vieles mehr.

 phone:     +49 36207 519931         www:       http://www.metux.de/     
 fax:       +49 36207 519932         email:     contact@metux.de
 cellphone: +49 174 7066481	     smsgate:   sms.weigelt@metux.de
---------------------------------------------------------------------
 Diese Mail wurde mit UUCP versandt.      http://www.metux.de/uucp/

Re: SV: MPM perchild.

Posted by Johannes Erdfelt <jo...@erdfelt.com>.
That looks about good.

Do you only have one child defined?

JE

On Tue, Nov 26, 2002, Jonas Eriksson <jo...@webkonsulterna.com> wrote:
> 
> 
> Hmm sorry! I did a bougus error in http.conf ...
> 
> When i now start the server i get the following in my shell promt and
> the server starts.
> What does the debug info tell? Is it all ok or do i have to change
> anyting?
> 
> [root@mose /usr/local/apache2.0.43/bin]# ./httpd -f
> /usr/local/apache2.0.43/conf/httpd.conf
> [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
> child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
> 0
> [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
> child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
> 1
> [Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
> child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
> 2
>  
> 
> 
> 
> On Tue, Nov 26, 2002, Jonas Eriksson <jo...@webkonsulterna.com> wrote:
> > I Still get error "Unable to find process with matching uid/gid."
> > after compileing 2.43 with
> >
> http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc
> > hild/perchild.c
> 
> Are you sure you configured your setup correctly?
> 
> Do you have a ChildPerUserId before you use AssignUserId?
> 
> Can you give us the configuration you're using?
> 
> JE
> 
> 

SV: MPM perchild.

Posted by Jonas Eriksson <jo...@webkonsulterna.com>.

Hmm sorry! I did a bougus error in http.conf ...

When i now start the server i get the following in my shell promt and
the server starts.
What does the debug info tell? Is it all ok or do i have to change
anyting?

[root@mose /usr/local/apache2.0.43/bin]# ./httpd -f
/usr/local/apache2.0.43/conf/httpd.conf
[Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
0
[Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
1
[Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
2
 



On Tue, Nov 26, 2002, Jonas Eriksson <jo...@webkonsulterna.com> wrote:
> I Still get error "Unable to find process with matching uid/gid."
> after compileing 2.43 with
>
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc
> hild/perchild.c

Are you sure you configured your setup correctly?

Do you have a ChildPerUserId before you use AssignUserId?

Can you give us the configuration you're using?

JE



Re: MPM perchild.

Posted by Johannes Erdfelt <jo...@erdfelt.com>.
On Tue, Nov 26, 2002, Jonas Eriksson <jo...@webkonsulterna.com> wrote:
> I Still get error "Unable to find process with matching uid/gid."
> after compileing 2.43 with
> http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc
> hild/perchild.c

Are you sure you configured your setup correctly?

Do you have a ChildPerUserId before you use AssignUserId?

Can you give us the configuration you're using?

JE