Date: Sun, 05 Apr 2009 22:58:20 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Steve Williams <sbw@sbw.org> Cc: freebsd-apache@freebsd.org Subject: Re: mod_python "version mismatch" Message-ID: <49D91B6C.2060209@quip.cz> In-Reply-To: <200904051921.n35JLK662185@sbw.org> References: <200904051921.n35JLK662185@sbw.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D91B6C.2060209>