You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by kazekun <ap...@inet.polyu.edu.hk> on 2007/09/27 19:06:22 UTC
[users@httpd] Resource temporarily unavailable:,setuid: unable to change to uid:
502
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
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:38 2007] [alert] (11)Resource temporarily unavailable:
setuid: unable to change to uid: 502
[Wed Sep 26 13:13:39 2007] [alert] Child 29448 returned a Fatal error...
Apache is exiting!
Then whenever the website is accessed, it gives the following message:
[Wed Sep 26 13:13:45 2007] [error] [client 203.168.204.205] (22)Invalid
argument: apr_global_mutex_lock(rewrite_log_lock) failed
[Wed Sep 26 13:13:45 2007] [error] [client 203.168.204.205] (22)Invalid
argument: apr_global_mutex_unlock(rewrite_log_lock) failed
Since I'm new to linux, I have no clue where to begin troubleshooting
the problem. I would greatly appreciate if somebody could give me some
hint as to where to begin troubleshooting. Thanks.
Eugene
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Resource temporarily unavailable:,setuid: unable
to change to uid: 502
Posted by Scott Gifford <sg...@suspectclass.com>.
kazekun <ap...@inet.polyu.edu.hk> 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:
ERRORS
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 203.168.204.205] (22)Invalid
> argument: apr_global_mutex_lock(rewrite_log_lock) failed
> [Wed Sep 26 13:13:45 2007] [error] [client 203.168.204.205] (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!
---Scott.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org