Return-Path: Delivered-To: apmail-httpd-test-dev-archive@www.apache.org Received: (qmail 79591 invoked from network); 13 Jun 2004 22:24:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jun 2004 22:24:46 -0000 Received: (qmail 62700 invoked by uid 500); 13 Jun 2004 22:24:49 -0000 Delivered-To: apmail-httpd-test-dev-archive@httpd.apache.org Received: (qmail 62580 invoked by uid 500); 13 Jun 2004 22:24:49 -0000 Mailing-List: contact test-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-dev@httpd.apache.org Received: (qmail 62562 invoked by uid 99); 13 Jun 2004 22:24:48 -0000 Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 13 Jun 2004 15:24:48 -0700 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5DMOci5007681 for ; Sun, 13 Jun 2004 18:24:38 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5DMOb022590 for ; Sun, 13 Jun 2004 18:24:37 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id i5DMOaMi005530 for ; Sun, 13 Jun 2004 23:24:36 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id i5DMOahF005529 for test-dev@httpd.apache.org; Sun, 13 Jun 2004 23:24:36 +0100 Date: Sun, 13 Jun 2004 23:24:36 +0100 From: Joe Orton To: test-dev@httpd.apache.org Subject: Re: Apache::test + mod_ssl Message-ID: <20040613222436.GA5523@redhat.com> Mail-Followup-To: test-dev@httpd.apache.org References: <60C26D83-BC04-11D8-9A03-000A95972D84@kineticode.com> <40CA777C.4040203@stason.org> <35E1EB8C-BD5C-11D8-9F91-000A95972D84@kineticode.com> <40CCC391.7090200@stason.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <40CCC391.7090200@stason.org> User-Agent: Mutt/1.4.1i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, Jun 14, 2004 at 12:13:53AM +0300, Stas Bekman wrote: > David Wheeler wrote: > >>Where does it create that semaphore file with A-T? May be it's the env > >>val for $TMPDIR? but it's specific to modperl-2.0. > > > >All I know is what the error message says: > > > >Ouch! ap_mm_create(1048576, "/usr/local/apache/logs/httpd.mm.6521") failed > >Error: MM: mm:core: failed to open semaphore file (Permission denied): > >OS: No such file or directory > > > >I'm guessing that under A-T, it creates it in the test directory. The problem is that if you use an EAPI-patched-1.3, you get a path to a mutex file hard-coded into the httpd binary. If this path is absolute, as above, then you need permission in that path to create a file, so using httpd-test to run httpd as a user doesn't work if that path is only writable by root, obviously. You can compile EAPI-patched-1.3 with a relative EAPI_MM_CORE_PATH (or wahtever it is, I don't remember), and the problem will go away as it will become effectively ServerRoot-relative. All IIRC :) joe