Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 21:37:48 -0700 (MST)
From:      "RYAN M. vAN GINNEKEN" <luck@computerking.ca>
To:        freebsd-stable@freebsd.org
Subject:   webmin adding to many groups to www group
Message-ID:  <23429779.7421184819868844.JavaMail.root@shoemasters.com>

next in thread | raw e-mail | index | archive | help
Hello all i am having trouble getting virtualmin to work right with freebsd 6.2 stable and apache 2.2.4. I believe my problem is related to having to many groups in the www group. see below 

king1::1007:www 
king2::1012:www 
king3::1011:www 
king4::1013:www 
king5::1010:www 
king6::1017:www 
king7::1014:www 
king8::1016:www 
king9::1015:www 
king10::1018:www 
king11::1020:www 
king12::1019:www 
king13::1020:www 


When i try to add another group 

king14::1021:www 

I get this error in apache 

[Wed Jul 18 20:23:08 2007] [notice] Graceful restart requested, doing restart 
[Wed Jul 18 20:23:09 2007] [warn] NameVirtualHost *:80 has no VirtualHosts 
[Wed Jul 18 20:23:09 2007] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter 
[Wed Jul 18 20:23:09 2007] [notice] Digest: generating secret for digest authentication ... 
[Wed Jul 18 20:23:09 2007] [notice] Digest: done 
[Wed Jul 18 20:23:10 2007] [notice] Apache/2.2.4 (FreeBSD) DAV/2 PHP/5.2.2 with Suhosin-Patch mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 configured -- resuming normal operations 
[Wed Jul 18 20:23:10 2007] [alert] (22)Invalid argument: initgroups: unable to set groups for User www and Group 80 
[Wed Jul 18 20:23:10 2007] [alert] Child 12628 returned a Fatal error... Apache is exiting! 
[Wed Jul 18 20:23:10 2007] [alert] (22)Invalid argument: initgroups: unable to set groups for User www and Group 80 
[Wed Jul 18 20:23:10 2007] [alert] (22)Invalid argument: initgroups: unable to set groups for User www and Group 80 

I did some googling and found this article http://lists.freebsd.org/pipermail/freebsd-bugs/2005-March/011831.html. 

What is the best way to set this up as i do not what users to be able to see each others directories but apache must be able to see them all right? is the a way to just add each user to the www group instead of creating a group for each user then adding that group to the www group. I think that is what webmin is doing right? 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23429779.7421184819868844.JavaMail.root>