git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: HTTP tests fail on OS X

From
Jeff King <peff@peff.net>
Date
Jun 21, 2013, 18:03 UTC
Message-ID
<20130621180334.GA4499@sigill.intra.peff.net>
In-Reply-To
<D0852D0F-3282-41DF-8A5A-4BEF1B39ED66@gernhardtsoftware.com>
On Fri, Jun 21, 2013 at 01:03:40PM -0400, Brian Gernhardt wrote:
Show 9 quoted lines
> On Jun 21, 2013, at 12:49 AM, Jeff King <peff@peff.net> wrote:
> 
> > I'm not sure what else to look at...I guess try ratcheting up the
> > debugging/log level on your failing copy and see if it prints anything
> > useful.
> 
> I found this error in the error.log:
> 
> [Fri Jun 21 12:59:59 2013] [emerg] (2)No such file or directory: Couldn't create accept lock (/private/var/run/accept.lock.64288) (5)

Hmm. I am far from an apache expert, but I believe that is what would happen if the LockFile directive was not there at all. IOW, it seems like your apache is treating "<IfVersion < 2.4>" as false. Which seems weird to me.

It's possible I'm using IfVersion wrong, though it does seem to work for me elsewhere.

IfVersion comes from mod_version. I assume that if it were not loaded, apache would complain about the directive entirely. But it's true that we don't load it until later. Maybe try moving the IfVersion/Lockfile stanza down below the mod_version LoadModule line?

-Peff
Previous: Brian GernhardtNext: Brian Gernhardt
Message 7 of 12 in “HTTP tests fail on OS X”
  1. Brian GernhardtJun 21, 2013
  2. Jeff KingJun 21, 2013
  3. Jeff KingJun 21, 2013
  4. Brian GernhardtJun 21, 2013
  5. Jeff KingJun 21, 2013
  6. Brian GernhardtJun 21, 2013
  7. Jeff KingJun 21, 2013
  8. Brian GernhardtJun 21, 2013
  9. lib-httpd/apache.conf: check version only after mod_version loadsJeff King, Jun 21, 2013
  10. Brian GernhardtJun 21, 2013
  11. Jeff KingJun 21, 2013
  12. Junio C HamanoJun 21, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.