From 0c5b70c77d85683eefe9a160d22a7efdadc97694 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Mon, 8 Apr 2002 16:57:06 +0000 Subject: [PATCH] Remind the admin about the User and Group directives when we are unable to set permissions on a semaphore. PR: 7812 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94541 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ server/mpm/prefork/prefork.c | 3 ++- server/mpm/worker/worker.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 95b678070c..38990c5371 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.36 + *) Remind the admin about the User and Group directives when we are + unable to set permissions on a semaphore. PR 7812 [Jeff Trawick] + *) fix possible compilation problem in ssl_engine_kernel.c. PR 7802 [Doug MacEachern] diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index 3cb8b061ba..9f3b17ae4b 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -958,7 +958,8 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) rv = unixd_set_proc_mutex_perms(accept_mutex); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, - "Couldn't set permissions on cross-process lock"); + "Couldn't set permissions on cross-process lock; " + "check User and Group directives"); return 1; } } diff --git a/server/mpm/worker/worker.c b/server/mpm/worker/worker.c index 8f7aaeed3d..ee49f165fe 100644 --- a/server/mpm/worker/worker.c +++ b/server/mpm/worker/worker.c @@ -1613,7 +1613,8 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) rv = unixd_set_proc_mutex_perms(accept_mutex); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, - "Couldn't set permissions on cross-process lock"); + "Couldn't set permissions on cross-process lock; " + "check User and Group directives"); return 1; } } -- 2.50.1