Apache crashes

Ryan Schmidt ryandesign at macports.org
Thu Oct 8 19:36:39 PDT 2009


On Oct 8, 2009, at 19:38, Scott Haneda wrote:

> Just after I get a large group of sites migrated to apache2 on a new  
> machine, I am seeing this happen in the error log:
>
> 36)Operation now in progress: initgroups: unable to set groups for  
> User www and Group 70
>
> Seems to be a bit of info in google about it, related to Mac OS X,  
> and some in the macports archives about python.
>
> Here is the whole deal:
> $grep 'alert' error_log
> [Thu Oct 08 16:23:24 2009] [alert] (22)Invalid argument: initgroups:  
> unable to set groups for User www and Group 70
> [Thu Oct 08 16:23:24 2009] [alert] (22)Invalid argument: initgroups:  
> unable to set groups for User www and Group 70
> [Thu Oct 08 16:23:24 2009] [alert] (22)Invalid argument: initgroups:  
> unable to set groups for User www and Group 70
> [Thu Oct 08 16:23:24 2009] [alert] (22)Invalid argument: initgroups:  
> unable to set groups for User www and Group 70
> [Thu Oct 08 16:23:24 2009] [alert] (22)Invalid argument: initgroups:  
> unable to set groups for User www and Group 70
> [Thu Oct 08 16:23:25 2009] [alert] Child 13545 returned a Fatal  
> error... Apache is exiting!
> [Thu Oct 08 17:29:48 2009] [alert] (36)Operation now in progress:  
> initgroups: unable to set groups for User www and Group 70
> [Thu Oct 08 17:29:49 2009] [alert] Child 13782 returned a Fatal  
> error... Apache is exiting!
>
> I was fiddling with rotatelogs in a virtual host container, but  
> since removed it, and am not using that feature at this time.  Those  
> alerts above came after I restarted apache with a graceful.
>
> Suggestions?

What OS is this? If 10.5 or later, the user should be "_www" not "www".

Where does "group 70" come from? That should be "_www" too, shouldn't  
it?




More information about the macports-dev mailing list