[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#248659: marked as done (apache2-mpm-worker: error writing log files)

Your message dated Sat, 29 May 2004 18:19:10 +0100
with message-id <20040529171910.GC90962@amnesiac.heapspace.net>
and subject line Not A bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 12 May 2004 17:00:57 +0000
>From vinci@alternativ.net Wed May 12 10:00:57 2004
Return-path: <vinci@alternativ.net>
Received: from 62-241-36-155.kunde.vdserver.de (azimuth.alternativ.net) [] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BNx6H-0002Bv-00; Wed, 12 May 2004 10:00:57 -0700
Received: from vinci by azimuth.alternativ.net with local (Exim 4.32)
	id 1BNx5w-0002gW-LW; Wed, 12 May 2004 19:00:36 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Thilo Pfennig <tp@alternativ.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apache2-mpm-worker: error writing log files
X-Mailer: reportbug 2.56
Date: Wed, 12 May 2004 19:00:34 +0200
Message-Id: <[🔎] E1BNx5w-0002gW-LW@azimuth.alternativ.net>
Sender: "Thilo Pfennig,,," <vinci@alternativ.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 1

Package: apache2-mpm-worker
Version: 2.0.49-1
Severity: normal

I have a strange error since a few days: Apache2 only writes to logfiles with the name "$filename.log.1" and not "$filename.log" (these are now null byte files)

This results in empty stats with Awstats (well, or is this an error of logrotate or awstats?)

Example listing:

$ ls -l /var/log/apache2/www.alternativ.net.log*
-rw-r-----    1 root     adm             0 2004-05-09 06:49 /var/log/apache2/www.alternativ.net.log
-rw-r-----    1 root     adm       6118076 2004-05-12 18:46 /var/log/apache2/www.alternativ.net.log.1

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (100, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1um
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (ignored: LC_ALL set to de_DE)

Versions of packages apache2-mpm-worker depends on:
ii  apache2-common              2.0.49-1     Next generation, scalable, extenda
ii  libapr0                     2.0.49-1     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-16    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.23-1     OpenLDAP libraries
ii  libssl0.9.7                 0.9.7d-1     SSL shared libraries
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information

Received: (at 248659-done) by bugs.debian.org; 29 May 2004 17:19:43 +0000
>From thom@debian.org Sat May 29 10:19:43 2004
Return-path: <thom@debian.org>
Received: from amnesiac.heapspace.net [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BU7Ul-0002bR-00; Sat, 29 May 2004 10:19:43 -0700
Received: from (unknown [])
	by inject (Postfix) with SMTP id D24CF57E3
	for <248659-done@bugs.debian.org>; Sat, 29 May 2004 18:19:12 +0100 (BST)
Received: by amnesiac.heapspace.net (Postfix, from userid 1003)
	id A789257D8; Sat, 29 May 2004 18:19:10 +0100 (BST)
Date: Sat, 29 May 2004 18:19:10 +0100
From: Thom May <thom@debian.org>
To: 248659-done@bugs.debian.org
Subject: Not A bug
Message-ID: <20040529171910.GC90962@amnesiac.heapspace.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
X-Operating-System: FreeBSD/4.9-STABLE (i386)
User-Agent: Mutt/1.5.6i
Delivered-To: 248659-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Most likely you have an error in your apache config so that the restart is
failing. Logrotate moves the logs before restarting apache, so if apache
can't restart it retains the file handle for the old log file.
Feel free to reopen this if you can prove it's an apache bug :-)

Reply to: