From owner-freebsd-apache@FreeBSD.ORG Fri Jul 1 22:46:32 2011 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA5C1065670 for ; Fri, 1 Jul 2011 22:46:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 284FC8FC1A for ; Fri, 1 Jul 2011 22:46:31 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta05.emeryville.ca.mail.comcast.net with comcast id 2mle1h0061smiN4A5mmVb2; Fri, 01 Jul 2011 22:46:29 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta20.emeryville.ca.mail.comcast.net with comcast id 2mni1h00U1t3BNj8gmnjq6; Fri, 01 Jul 2011 22:47:44 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id EE70C102C19; Fri, 1 Jul 2011 15:46:22 -0700 (PDT) Date: Fri, 1 Jul 2011 15:46:22 -0700 From: Jeremy Chadwick To: Yuri Message-ID: <20110701224622.GA34343@icarus.home.lan> References: <4E0E4679.7010600@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E0E4679.7010600@rawbw.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: apache@FreeBSD.org Subject: Re: Error from apache/dav after system upgrade: Init: Session Cache is not configured [hint: SSLSessionCache] X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2011 22:46:32 -0000 On Fri, Jul 01, 2011 at 03:13:13PM -0700, Yuri wrote: > After I upgraded the 8.2-STABLE to more current code and upgraded > all ports I am unable to connect to svn repository through apache: > client gets this: > Could not authenticate to server: rejected basic challenge. > httpd-errors.log gets messages, see below. > > Line SSLSessionCache "dbm:/var/run/ssl_scache" is in the file > /usr/local/etc/apache22/extra/httpd-ssl.conf. This file is included > from httpd.conf. > > What may be a problem? Hmm? The stock /usr/local/etc/apache22/extra/httpd-ssl.conf file has the following lines: 58 # Inter-Process Session Cache: 59 # Configure the SSL Session Cache: First the mechanism 60 # to use and second the expiring timeout (in seconds). 61 #SSLSessionCache "dbm:/var/run/ssl_scache" 62 SSLSessionCache "shmcb:/var/run/ssl_scache(512000)" 63 SSLSessionCacheTimeout 300 Note line 61 is commented out, and line 62 IS NOT commented out. Line 62 is what you should be using. We use Apache with SSL on our production web infrastructure and do not have any issues with "Session Cache is not configured". Please double and triple-check your Apache configuration. Every time Apache is upgraded, it's the administrator's responsibility to go through and make sure his/her configuration files are properly "merged" with the default/stock ones. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |