Re: Resource temporarily unavailable:,setuid: unable to change to uid: 502

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

 



kazekun <apkaze@xxxxxxxxxxxxxxxxx> 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@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