webmin adding to many groups to www group

RYAN M. vAN GINNEKEN luck at computerking.ca
Thu Jul 19 03:30:27 UTC 2007


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? 




More information about the freebsd-stable mailing list