Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 90863 invoked by uid 500); 20 May 2002 17:50:59 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 90844 invoked from network); 20 May 2002 17:50:58 -0000 Sender: gregames Message-ID: <3CE92D3F.4C47D5B0@apache.org> Date: Mon, 20 May 2002 13:07:11 -0400 From: Greg Ames X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-10mdk i686) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: HEAD dies on FreeBSD w/mod_rewrite References: <20020517211945.45087.qmail@icarus.apache.org> <3CE57717.FDA3E5B@apache.org> <20020517143643.I29628@apache.org> <3CE907BB.F313550E@apache.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Greg Ames wrote: > [Mon May 20 07:14:14 2002] [crit] (22)Invalid argument: mod_rewrite: Could not > set permissions on rewrite_log_lock; check User and Group directives > Configuration Failed from apr.h: #define APR_USE_FLOCK_SERIALIZE 1 #define APR_USE_SYSVSEM_SERIALIZE 0 (gdb) p *rewrite_log_lock.proc_mutex.meth $13 = {flags = 1, create = 0x280e9cd0 , acquire = 0x280e9d7c , tryacquire = 0, release = 0x280e9dd4 , destroy = 0x280e9e2c , child_init = 0x280e9e70 } (gdb) bt #0 unixd_set_proc_mutex_perms (pmutex=0x81299a8) at unixd.c:410 #1 0x807eaba in unixd_set_global_mutex_perms (gmutex=0x81299a0) at unixd.c:422 #2 0x2820a4da in post_config (p=0x809c010, plog=0x80c6010, ptemp=0x80c8010, s=0x80b8118) at mod_rewrite.c:968 #3 0x8065ba4 in ap_run_post_config (pconf=0x809c010, plog=0x80c6010, ptemp=0x80c8010, s=0x80b8118) at config.c:129 #4 0x806a973 in main (argc=3, argv=0xbfbffb74) at main.c:579 ...so it looks like this lock is an flock, but we're trying to set permissions on it as if it were a SysV sem. unixd_set_proc_mutex_perms() assumes it is only called for SysV sems. I'll take a look at the MPMs to see how they know the difference. Greg