[SOLVED!] (38)Function not implemented: Couldn't create accept lock
This bug is not limited to mod_rewrite; it affects all lock files.
Is it perhaps a kernel 2.4 vs 2.6 issue?
I'm running sid on a leased uml running 2.4.21-7um.
The function that dies is in:
httpd-2.0.48/server/mpm/prefork/prefork.c:ap_mpm_run
where it calls:
rv = apr_proc_mutex_create(&accept_mutex, ap_lock_fname,
ap_accept_lock_mech, _pconf);
that function is defined in:
httpd-2.0.48/srclib/apr/locks/unix/proc_mutex.c
and that ends up choosing one of these:
new_mutex->inter_meth = &apr_proc_mutex_unix_fcntl_methods;
new_mutex->inter_meth = &apr_proc_mutex_unix_flock_methods;
new_mutex->inter_meth = &apr_proc_mutex_unix_sysv_methods;
new_mutex->inter_meth = &apr_proc_mutex_unix_posix_methods;
new_mutex->inter_meth = &apr_proc_mutex_unix_proc_pthread_methods;
I cannot tell from the strace which it is selecting.
But adding:
AcceptMutex fcntl
in the <IfModule prefork.c> section solved the problem.
-JimC
Reply to: