Debian Bug report logs - #592988
apache: Messages about incorrect version appear in /var/log/apache2/error.log

version graph

Package: libapache2-mod-python; Maintainer for libapache2-mod-python is Debian Python Team <team+python@tracker.debian.org>; Source for libapache2-mod-python is src:libapache2-mod-python (PTS, buildd, popcon).

Reported by: Nigel Horne <njh@bandsman.co.uk>

Date: Sat, 14 Aug 2010 20:06:11 UTC

Severity: normal

Found in version libapache2-mod-python/3.3.1-9

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#592988; Package libapache2-mod-python. (Sat, 14 Aug 2010 20:06:14 GMT) (full text, mbox, link).


Acknowledgement sent to Nigel Horne <njh@bandsman.co.uk>:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sat, 14 Aug 2010 20:06:14 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Nigel Horne <njh@bandsman.co.uk>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache: Messages about incorrect version appear in /var/log/apache2/error.log
Date: Sat, 14 Aug 2010 21:04:55 +0100
Package: libapache2-mod-python
Version: 3.3.1-9+b1
Severity: normal
File: apache


Everytime I restart Apache I get these errors in /var/log/apache2/error.log.  The messages don't tell me what's generated them
or what to do, so I don't know how to fix them.

[Sat Aug 14 08:31:51 2010] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6rc1+'.
[Sat Aug 14 08:31:51 2010] [error] python_init: Python executable found '/usr/bin/python'.
[Sat Aug 14 08:31:51 2010] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-mod-python depends on:
ii  apache2                 2.2.16-1         Apache HTTP Server metapackage
ii  apache2-mpm-prefork [ap 2.2.16-1         Apache HTTP Server - traditional n
ii  apache2.2-common        2.2.16-1         Apache HTTP Server common files
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libpython2.6            2.6.6~rc1-1      Shared Python runtime library (ver
ii  libssl0.9.8             0.9.8o-1         SSL shared libraries
ii  python                  2.6.5-12         interactive high-level object-orie
ii  python-central          0.6.16           register and build utility for Pyt
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

libapache2-mod-python recommends no packages.

Versions of packages libapache2-mod-python suggests:
pn  libapache2-mod-python-doc     <none>     (no description available)

-- debconf information:
  libapache2-mod-python/enable_module: true




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#592988; Package libapache2-mod-python. (Fri, 08 Oct 2010 19:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Fri, 08 Oct 2010 19:51:04 GMT) (full text, mbox, link).


Message #10 received at 592988@bugs.debian.org (full text, mbox, reply):

From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Nigel Horne <njh@bandsman.co.uk>
Cc: 592988@bugs.debian.org
Subject: Re: Bug #592988: apache: Messages about incorrect version appear in /var/log/apache2/error.log
Date: Fri, 08 Oct 2010 20:49:05 +0100
On Sat, 2010-08-14 at 21:04 +0100, Nigel Horne wrote:
> Everytime I restart Apache I get these errors
> in /var/log/apache2/error.log.  The messages don't tell me what's
> generated them or what to do, so I don't know how to fix them.
> 
> [Sat Aug 14 08:31:51 2010] [error] python_init: Python version mismatch, expected '2.6.5+', found '2.6.6rc1+'.
> [Sat Aug 14 08:31:51 2010] [error] python_init: Python executable found '/usr/bin/python'.
> [Sat Aug 14 08:31:51 2010] [error] python_init: Python path being used '/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.

Do these actually break anything?  Looking at the source, after the
messages are emitted the code appears to continue on its way.

If the module really relies on such a specific version of python
relative to the version it was built against, that needs to be reflected
in the dependencies (and would be RC if the mismatch causes the module
to not function correctly).

Regards,

Adam





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#592988; Package libapache2-mod-python. (Sun, 20 Mar 2011 21:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Louis van Belle" <louis@van-belle.nl>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sun, 20 Mar 2011 21:36:03 GMT) (full text, mbox, link).


Message #15 received at 592988@bugs.debian.org (full text, mbox, reply):

From: "Louis van Belle" <louis@van-belle.nl>
To: <592988@bugs.debian.org>
Date: Sun, 20 Mar 2011 22:28:18 +0100
Hai, 

Even in squeeze, i have these linese. 

[Sun Mar 20 21:16:54 2011] [error] python_init: Python version mismatch,
expected '2.6.5+', found '2.6.6'.
[Sun Mar 20 21:16:54 2011] [error] python_init: Python executable found
'/usr/bin/python'.
[Sun Mar 20 21:16:54 2011] [error] python_init: Python path being used
'/usr/lib/python2.6/:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-t
k:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload'.
[Sun Mar 20 21:16:54 2011] [notice] mod_python: Creating 8 session mutexes
based on 150 max processes and 0 max threads.
[Sun Mar 20 21:16:54 2011] [notice] mod_python: using mutex_directory /tmp

Yes it loads, but who wants unneeded error lines in your logs.

My log analyzer picks up these error line and gives a wrong message to me. 

The bug is not the error message, but

expected '2.6.5+', found '2.6.6'.  

is correct, 2.6.6. is bigger then 2.6.5+ .

so there should not be a message at all. 

Small bug but would be nice if fixed some day. 

Best regards, 

Louis






Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#592988; Package libapache2-mod-python. (Mon, 28 Nov 2011 00:42:07 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Perry <mike@cogsmos.com>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Mon, 28 Nov 2011 00:42:07 GMT) (full text, mbox, link).


Message #20 received at 592988@bugs.debian.org (full text, mbox, reply):

From: Mike Perry <mike@cogsmos.com>
To: 592988@bugs.debian.org
Subject: re: apache: Messages about incorrect version appear in /var/log/apache2/error.log
Date: Sun, 27 Nov 2011 19:38:34 -0500
[Message part 1 (text/plain, inline)]
I have noticed this error in my apache2 error log as well. The version of
libapache2-mod-python still appears to be 3.3.1-9+b1. This was installed by
default with tasksel when installing a webserver on Squeeze. The error does
appear to be benign but may be confusing for some users. It will appear int
he error log with each restart of apache2.

kthxbye

/*
 * Mike Perry
 * mike@cogsmos.com
 */
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#592988; Package libapache2-mod-python. (Thu, 02 Feb 2017 14:57:06 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Gilbey <jdg@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Thu, 02 Feb 2017 14:57:06 GMT) (full text, mbox, link).


Message #25 received at 592988@bugs.debian.org (full text, mbox, reply):

From: Julian Gilbey <jdg@debian.org>
To: Mike Perry <mike@cogsmos.com>, 592988@bugs.debian.org
Subject: Re: Bug#592988: apache: Messages about incorrect version appear in /var/log/apache2/error.log
Date: Thu, 2 Feb 2017 14:56:40 +0000
On Sun, Nov 27, 2011 at 07:38:34PM -0500, Mike Perry wrote:
> I have noticed this error in my apache2 error log as well. The version of
> libapache2-mod-python still appears to be 3.3.1-9+b1. This was installed by
> default with tasksel when installing a webserver on Squeeze. The error does
> appear to be benign but may be confusing for some users. It will appear int he
> error log with each restart of apache2.
> kthxbye

This is still an issue with the current versions of the relevant
packages in testing.  A simple recompile of libapache2-mod-python
clears this bug.

(And ignore the lintian error
apache2-module-depends-on-real-apache2-package; there's a bug against
lintian about it: #796285)

   Julian








Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 21:05:20 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.