httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gifford <>
Subject Re: [users@httpd] Resource temporarily unavailable:,setuid: unable to change to uid: 502
Date Fri, 28 Sep 2007 03:12:17 GMT
kazekun <> writes:

> Hello,
> I'm new to linux and had installed apache 2.2.6 on Fedora 7 about
> a month ago.  It seems to be working fine (still able to access the
> website) except that when I check the error log today (Sept. 27), I
> notice that there are some error messages
> [Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
> setuid: unable to change to uid: 502

"Resource temporarily unavailable" is Unix error EAGAIN.  Here's what
the manpage for setuid(2) says on my system:

       EAGAIN The uid does not match the current uid and uid brings
       process over it's NPROC rlimit.

Hopefully that will get you pointed in the right direction.


> Then whenever the website is accessed, it gives the following message:
> [Wed Sep 26 13:13:45 2007] [error] [client] (22)Invalid
> argument: apr_global_mutex_lock(rewrite_log_lock) failed
> [Wed Sep 26 13:13:45 2007] [error] [client] (22)Invalid
> argument: apr_global_mutex_unlock(rewrite_log_lock) failed

That could be caused by the above error; if setuid fails it might not
have permission to grab that mutex.

Good luck!


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message