From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 13:39:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92691065683 for ; Thu, 31 Jul 2008 13:39:42 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 9628F8FC17 for ; Thu, 31 Jul 2008 13:39:42 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 29733 invoked from network); 31 Jul 2008 08:39:44 -0500 Received: from 203-166-248-146.dyn.iinet.net.au (HELO ayiin) (203.166.248.146) by sigma.octantis.com.au with (DHE-RSA-AES128-SHA encrypted) SMTP; 31 Jul 2008 08:39:43 -0500 Date: Thu, 31 Jul 2008 23:39:37 +1000 From: Norberto Meijome To: Michael Christie Message-ID: <20080731233937.66d710af@ayiin> In-Reply-To: <4890DDE7.9090102@powerzone.net.au> References: <4890DDE7.9090102@powerzone.net.au> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Group Limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 13:39:42 -0000 On Thu, 31 Jul 2008 07:32:23 +1000 Michael Christie wrote: > I am running webmin and virtualmin on freebsd 7.0, I have found when > i add a number of domains using virtualmin and restart apachie i get the > following error. > > [alert] (22)Invalid argument: initgroups: unable to set groups for User > www and Group 80... Apachie will not start.. > > > it happens when the 'apache' or 'httpd' user is a member of too many groups. By default, > Virtualmin adds the user Apache runs as to each domain's group, which > eventually triggers this problem. so is the dummy spit by apache itself, or a syscall made by apache ? u can use ktrace on apache when starting/dying and see what is causing the actual problem. IF the issue really is central to /etc/groups , would moving to a bigger user management system (LDAP, NIS ? ) be possible? ( possibly implies changes to virtualmin too..) B _________________________ {Beto|Norberto|Numard} Meijome Real Programmers don't comment their code. If it was hard to write, it should be hard to understand and even harder to modify. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.