so it seems like every server I install this onto the php FCGI stops working
Code: Select all
[Wed Apr 13 09:17:22 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4108
[Wed Apr 13 09:17:23 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4115
[Wed Apr 13 09:17:31 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4114
[Wed Apr 13 09:17:31 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4105
[Wed Apr 13 09:17:31 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4131
[Wed Apr 13 09:17:31 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4125
[Wed Apr 13 09:17:33 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4122
[Wed Apr 13 09:17:33 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4127
[Wed Apr 13 09:17:33 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4129
[Wed Apr 13 09:17:34 2011] [emerg] (13)Permission denied: mod_fcgid: can't get lock, pid: 4132
From the previous comments in this thread it seems like the ruid2 mod shouldnt have any effect on this....
Also I have found that with mod_jk, it breaks that as well and causes segfaults
mod_ruid2 is enabled with these settings
Code: Select all
LoadModule ruid2_module modules/mod_ruid2.so
<IfModule mod_ruid2.c>
RMode stat
RUidGid apache apache
RGroups apache psaserv psacln
RMinUidGid apache apache
</IfModule>
/var/log/httpd/error_log has these lines indicating the overall problem and that a seg fault occured
Code: Select all
[Wed Apr 13 10:24:34 2011] [error] (13)Permission denied: apr_global_mutex_lock(jk_log_lock) failed
[Wed Apr 13 10:24:35 2011] [notice] child pid 608 exit signal Segmentation fault (11), possible coredump in /tmp
[Wed Apr 13 10:25:13 2011] [error] (13)Permission denied: apr_global_mutex_lock(jk_log_lock) failed
[Wed Apr 13 10:25:14 2011] [notice] child pid 6913 exit signal Segmentation fault (11), possible coredump in /tmp
[Wed Apr 13 10:25:26 2011] [error] (13)Permission denied: apr_global_mutex_lock(jk_log_lock) failed
[Wed Apr 13 10:25:27 2011] [notice] child pid 603 exit signal Segmentation fault (11), possible coredump in /tmp
Seg faults show not a lot of useful info in the back trace
Code: Select all
-rw------- 1 user psaserv 211914752 Apr 13 10:20 core.24951
-rw------- 1 user psacln 211914752 Apr 13 10:20 core.24953
-rw------- 1 user psacln 211914752 Apr 13 10:20 core.24955
-rw------- 1 user psacln 211914752 Apr 13 10:20 core.24956
-rw------- 1 user psaserv 211914752 Apr 13 10:21 core.24958
-rw------- 1 user psaserv 211914752 Apr 13 10:21 core.28989
-rw------- 1 user psaserv 245530624 Apr 13 10:20 core.8793
(gdb) bt
#0 0x00002b9edd9e1a10 in ap_log_rerror ()
#1 0x00002b9ee5ff9200 in jk_tcp_socket_recvfull () from /usr/lib64/httpd/modules/mod_jk.so
#2 0x00002b9ee6000d3f in jk_log () from /usr/lib64/httpd/modules/mod_jk.so
#3 0x00002b9ee60075f9 in map_uri_to_worker () from /usr/lib64/httpd/modules/mod_jk.so
#4 0x00002b9ee5ff8734 in jk_tcp_socket_recvfull () from /usr/lib64/httpd/modules/mod_jk.so
#5 0x00002b9edd9d7c22 in ap_run_map_to_storage ()
#6 0x00002b9edd9d8d8c in ap_process_request_internal ()
#7 0x00002b9edd9d9110 in ap_sub_req_lookup_file ()
#8 0x00002b9ee31792c2 in ap_log_rerror () from /etc/httpd/modules/mod_include.so
#9 0x00002b9ee31755e8 in ap_log_rerror () from /etc/httpd/modules/mod_include.so
#10 0x00002b9edd9d55dd in ?? ()
#11 0x00002b9edd9dca0a in ap_run_handler ()
#12 0x00002b9edd9dfe98 in ap_invoke_handler ()
#13 0x00002b9edd9ea958 in ap_process_request ()
#14 0x00002b9edd9e7b90 in ?? ()
#15 0x00002b9edd9e3cb2 in ap_run_process_connection ()
#16 0x00002b9edd9ee809 in ?? ()
#17 0x00002b9edd9eea9a in ?? ()
#18 0x00002b9edd9ef2fd in ap_mpm_run ()
#19 0x00002b9edd9c9e48 in main ()
(gdb) bt full
#0 0x00002b9edd9e1a10 in ap_log_rerror ()
No symbol table info available.
#1 0x00002b9ee5ff9200 in jk_tcp_socket_recvfull () from /usr/lib64/httpd/modules/mod_jk.so
No symbol table info available.
#2 0x00002b9ee6000d3f in jk_log () from /usr/lib64/httpd/modules/mod_jk.so
No symbol table info available.
#3 0x00002b9ee60075f9 in map_uri_to_worker () from /usr/lib64/httpd/modules/mod_jk.so
No symbol table info available.
#4 0x00002b9ee5ff8734 in jk_tcp_socket_recvfull () from /usr/lib64/httpd/modules/mod_jk.so
No symbol table info available.
#5 0x00002b9edd9d7c22 in ap_run_map_to_storage ()
No symbol table info available.
#6 0x00002b9edd9d8d8c in ap_process_request_internal ()
No symbol table info available.
#7 0x00002b9edd9d9110 in ap_sub_req_lookup_file ()
No symbol table info available.
#8 0x00002b9ee31792c2 in ap_log_rerror () from /etc/httpd/modules/mod_include.so
No symbol table info available.
#9 0x00002b9ee31755e8 in ap_log_rerror () from /etc/httpd/modules/mod_include.so
No symbol table info available.
#10 0x00002b9edd9d55dd in ?? ()
No symbol table info available.
#11 0x00002b9edd9dca0a in ap_run_handler ()
No symbol table info available.
#12 0x00002b9edd9dfe98 in ap_invoke_handler ()
No symbol table info available.
#13 0x00002b9edd9ea958 in ap_process_request ()
No symbol table info available.
#14 0x00002b9edd9e7b90 in ?? ()
No symbol table info available.
#15 0x00002b9edd9e3cb2 in ap_run_process_connection ()
No symbol table info available.
#16 0x00002b9edd9ee809 in ?? ()
No symbol table info available.
#17 0x00002b9edd9eea9a in ?? ()
No symbol table info available.
#18 0x00002b9edd9ef2fd in ap_mpm_run ()
No symbol table info available.
#19 0x00002b9edd9c9e48 in main ()
No symbol table info available.
If I disable ruid2 then everything works again.