[users@httpd] perchild mpm issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   Folks,

I'm testing the perchild mpm but I ran into some troubles like this one (from error_log) :

[Tue Mar 08 22:01:38 2005] [alert] getpwuid: couldn't determine user name from uid 500, you probably need to modify the User directive [Tue Mar 08 22:01:39 2005] [alert] Child 9856 returned a Fatal error...\nApache is exiting!

   Of course, my user is recognized by my system :-)

[root@tabr philippe]# id philippe
uid=500(philippe) gid=500(philippe) groupes=500(philippe),100(users),503(admin),504(webdev)

My section about perchild mpm in httpd.conf is like :

<IfModule perchild.c>
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  10000

AcceptMutex fcntl
ChildPerUserID philippe webdev 2
</IfModule>

...

<VirtualHost *:80>
   ServerAdmin philippe@xxxxxxxxxxxxx
   DocumentRoot /var/www/webdev
   ServerName webdev.dune

   AssignUserID philippe webdev
</VirtualHost>

My running system is a Fedora Core 2 with httpd 2.0.53, php 5.0.3 & mod_auth_kerb 5.0-rc6, all compiled by myself from vanilla sources. Apache was compiled with these options :

./configure --datadir=/var/www --sysconfdir=/etc/httpd2 \
           --enable-so --enable-ssl=shared --enable-mods-shared=all \
           --with-mpm=perchild

BTW, I'm using openLDAP to manage the users on my server. The error occurs when I try to access my http://webdev.dune virtualhost, apache does not answer and stops immediately.

Any idea out here ?

Rgds.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux