From owner-freebsd-apache@FreeBSD.ORG Sat Jul 2 00:15:29 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 D98B7106564A for ; Sat, 2 Jul 2011 00:15:29 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id C61F08FC1A for ; Sat, 2 Jul 2011 00:15:29 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p620FSHq035818; Fri, 1 Jul 2011 17:15:29 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4E0E6320.7020605@rawbw.com> Date: Fri, 01 Jul 2011 17:15:28 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110701 Thunderbird/5.0 MIME-Version: 1.0 To: Jeremy Chadwick References: <4E0E4679.7010600@rawbw.com> <20110701224622.GA34343@icarus.home.lan> In-Reply-To: <20110701224622.GA34343@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 02 Jul 2011 00:15:29 -0000 On 07/01/2011 15:46, Jeremy Chadwick wrote: > 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. The problem is that my configuration had no SSL at all. httpd-ssl.conf was not even included. Very simple local site. I didn't touch configuration during system upgrade. After upgrade this problem occurs with svn/dav connections. ([warn] Init: Session Cache is not configured [hint: SSLSessionCache]) This section causes the problem: DAV svn SVNPath /home/my-repository AuthUserFile /usr/local/www/.htpasswd AuthName "Subversion repository" AuthType Basic require valid-user If such a simple configuration breaks this should be noted in /usr/ports/UPGRADING. It asks for SSL certificate on the server with no SSL at all. Yuri