Re: Apache 2 initgroups alert, Max OS X, abnormal exit in error log

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

 



Hello.
I am having the same problem as you. It happens only after last upgrade to
httpd (I use macports). It was working without any problems but now I get
this initgroups warning followed by a Fatal error. And Apache exists.
I use httpd 2.2.14 with mod_ssl and mod_jk (linked to jBoss)

I know I can't help you with the solllution but maybe there is some test I
can do... or maybe you alreado found the sollution :-)

Ignacio


Lists wrote:
> 
> I am bumping this one, since it saw no action at all.  Should I just  
> file a bug report?  The only things that have changed since my OP, is  
> I have found more references to this in google, dating back many year,  
> and found the section on the source code that returns the error.   I  
> do not see how to solve it though, regardless of the condition that is  
> getting hit to return the error.
> 
> I reached out to every poster in the archives I found, they are all  
> too old, and I suspect those people do not monitor those email  
> addresses.
> 
> This has plagued Apache even in the 1.x series, and has made its way  
> to the 2.x series, though it is in such limited form, most never hit  
> it.  I do believe it is limited to the BSD's, or at least, only  
> systems that may have something wrong with initgroups().
> 
> I am happy to file a bug report, but want to make 100% sure I am not  
> making a config problem on my end into a bug.
> 
> Thank you.
> -- 
> Scott * If you contact me off list replace talklists@ with scott@ *
> 
> On Oct 8, 2009, at 10:53 PM, Scott Haneda wrote:
> 
>> $httpd -v
>> Server version: Apache/2.2.13 (Unix)
>>
>> Today, I have seen in my logs...
>> $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!
>>
>> There is a little info on this, one which is in this list, but dates  
>> back a year:
>> http://mail-archives.apache.org/mod_mbox/httpd-users/200810.mbox/%3C5249c07e0810091021s77d4f603y50c3fbb20cd4c181@xxxxxxxxxxxxxx%3E
>>
>> There was no solution to that thread I could find.
>>
>> Looking through a few changelogs, I see mention of initgroups, but I  
>> am not versed in this enough to now if this was addressed, attempted  
>> to be addressed, or was assumed to have been solved.  I am not using  
>> any LDAP as some googling will point to.
>>
>> The only correlation I have, is I was playing with rotatelogs for  
>> the first time today.  I removed the single pipe line for the error  
>> log and issues apachectl graceful. That graceful was issued at Oct   
>> 8 16:23, but you can see, I had an exit afterward as well.
>>
>> The pipe I added was put into a virtual host container, did make a  
>> log after a graceful start, and followed the 300 second rotation  
>> schedule I was testing.  User was root and group was www.  On a side  
>> note, how do I get rotatelogs to use www:www user and group?
>>
>> My google searches on this seem to be mostly limited to Mac OS X,  
>> both PPC and Intel, info is sparse.
>>
>> More details below, but the meat of the question is above, most  
>> probably do not need read more.  I am posting here to find if anyone  
>> knows more info, or if it would be wise to post to bugzilla.
>>
>> This is a relatively new install, and was just put into production  
>> after stable testing for a few weeks.  I have not seen any other  
>> unusual exits, but I am also staying way from rotatelogs for the  
>> time being, though I am pretty sure that my end goals will need use  
>> of rotatelogs.
>>
>> I am running Mac OS X 10.5 on PPC
>>   Hardware Overview:
>>
>>      Model Name: Power Mac G5
>>      Model Identifier: PowerMac7,2
>>      Processor Name: PowerPC 970  (2.2)
>>      Processor Speed: 2 GHz
>>      Number Of CPUs: 2
>>      L2 Cache (per CPU): 512 KB
>>      Memory: 3.5 GB
>>      Bus Speed: 1 GHz
>>      Boot ROM Version: 5.1.4f0
>>
>> I am open to testing rotatelogs if need be to pin this down.  I used  
>> MacPorts to install, which from what I can tell about the port  
>> install description file, these are the configure args I used:
>>
>>         --prefix=/opt/local/apache2
>>         --with-apr=/opt/local/bin/apr-1-config \
>>         --with-apr-util=/opt/local/bin/apu-1-config \
>>         --libdir=/opt/local/lib \
>>         --with-expat=/opt/local \
>>         --with-pcre=/opt/local \
>>         --mandir=/opt/local/share/man \
>>         --enable-mods-shared=all \
>>         --enable-ssl \
>>         --with-ssl=/opt/local \
>>         --enable-cache \
>>         --enable-disk_cache \
>>         --enable-file_cache \
>>         --enable-mem_cache \
>>         --enable-deflate \
>>         --enable-proxy \
>>         --enable-proxy-connect \
>>         --enable-proxy-http \
>>         --enable-proxy-ftp
>>
>> I can not locate the OP's email address to follow up with him and  
>> see if he has resolution to this.  Unfortunately, I only have an  
>> error log from today forward, and nuked the last two weeks of it as  
>> a clean start when I went live.
> 
> ---------------------------------------------------------------------
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-users%40httpd--Apache-2-initgroups-alert%2C-Max-OS-X%2C-abnormal-exit-in-error-log-tp25815868p26058602.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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