From owner-freebsd-apache@FreeBSD.ORG Sun Apr 5 21:08:31 2009 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B84A5106564A for ; Sun, 5 Apr 2009 21:08:31 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE558FC13 for ; Sun, 5 Apr 2009 21:08:30 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 442D419E023; Sun, 5 Apr 2009 22:58:26 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id C76A519E02A; Sun, 5 Apr 2009 22:58:20 +0200 (CEST) Message-ID: <49D91B6C.2060209@quip.cz> Date: Sun, 05 Apr 2009 22:58:20 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Steve Williams References: <200904051921.n35JLK662185@sbw.org> In-Reply-To: <200904051921.n35JLK662185@sbw.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-apache@freebsd.org Subject: Re: mod_python "version mismatch" 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: Sun, 05 Apr 2009 21:08:32 -0000 Steve Williams wrote: > On Apache start/restart, this always appears in httpd-error.log: > > python_init: Python version mismatch, expected '2.5.2', found '2.5.4'. > > As far as I know, it doesn't hurt anything, but is this something that > should be resolved? > > I did some googling. I didn't understand everything I read, but I > believe the error is because I'm using: > > apache-2.2.11_3 > > Together with: > > mod_python-3.3.1_2 > python25-2.5.4_1 > > The dependencies for mod_python-3.3.1_2 include apache-2.0.63_2. I > assume that means mod_python-3.3.1_2 is set up for Apache 2.0, not 2.2, > which appears to be the cause of the version mismatch in other *nix > environments. I see it few days ago. I think you installed (compiled) mod_python in time when you have python 2.5.2 installed and later you upgraded python to 2.5.4. If you want to fix it, just recompile (reinstall) mod_python and restart Apache. Miroslav Lachman