Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 8408 invoked from network); 11 Mar 2004 14:23:07 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Mar 2004 14:23:07 -0000 Received: (qmail 980 invoked by uid 500); 11 Mar 2004 14:23:02 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 944 invoked by uid 500); 11 Mar 2004 14:23:02 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 929 invoked from network); 11 Mar 2004 14:23:02 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 11 Mar 2004 14:23:02 -0000 Received: (qmail 29644 invoked by uid 50); 11 Mar 2004 14:23:33 -0000 Date: 11 Mar 2004 14:23:33 -0000 Message-ID: <20040311142333.29643.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 27605] New: - log rotate problem X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27605 log rotate problem Summary: log rotate problem Product: Apache httpd-2.0 Version: 2.0.39 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: All AssignedTo: bugs@httpd.apache.org ReportedBy: agatta@inwind.it We are using cronolog (1.6.1) with apache 2.0.39 and we are experiencing a great problem with log rotate Log properties (from httpd.conf): LogFormat "%h %l %u %t \"%r\" %>s %b %T \"%{User-Agent}i\" <%{Cookie}i> <%{Set-Cookie}o> \"%{Referer}i\" %p" accrue CustomLog "|/app/apache/cronlog/bin/cronolog --symlink=/app/apachedocs/VOWeb/OmniPRI/logs/access_log /apachelogs/VOWeb/OmniPRI/logs/%Y/%m/%d/access_log" accrue Problem Description: Apache write access info, at the same time, in the yesterday acccess_log and in the current access_log, for example in the next lines You can see the time stamp of the 2 access_log and the list of processes... apache@xxxxxx# ls -la 11/ total 530004 drwxrwsr-x 2 apache tlg2acc 512 Mar 11 00:00 . drwxrwsr-x 13 apache tlg2acc 512 Mar 11 00:00 .. -rw-rw-r-- 1 apache tlg2acc 217858448 Mar 11 12:05 access_log -rw-rw-r-- 1 apache tlg2acc 53337282 Mar 11 12:05 ssl_request_log apache@xxxxxx# ls -la 10/ total 1896772 drwxrwsr-x 2 apache tlg2acc 512 Mar 10 00:00 . drwxrwsr-x 13 apache tlg2acc 512 Mar 11 00:00 .. -rw-rw-r-- 1 apache tlg2acc 805104905 Mar 11 12:05 access_log -rw-rw-r-- 1 apache tlg2acc 165535930 Mar 10 23:59 ssl_request_log apache@xxxxxx# /usr/sbin/fuser 10/access_log 10/access_log: 3472o 3409o 2956o 2950o 2949o 2918o 22082o apache@xxxxxx# /usr/sbin/fuser 11/access_log 11/access_log: 22083o apache@xxxxxx# ps -ef | grep 22083 apache 22083 22082 1 Mar 10 ? 3:56 /app/apache/cronlog/bin/cronolog --symlink=/app/apachedocs/VOWeb/OmniPRI/logs/a apache@xxxxxx# ps -ef | grep 3472 apache 3472 22082 0 11:35:58 ? 0:33 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache@xxxxxx# ps -ef | grep 3409 apache 3409 22082 0 11:35:29 ? 0:35 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache@xxxxxx# ps -ef | grep 2956 apache 2956 22082 0 11:34:34 ? 0:33 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache@xxxxxx# ps -ef | grep 2950 apache 2950 22082 0 11:34:12 ? 0:36 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache@xxxxxx# ps -ef | grep 2949 apache 2949 22082 0 11:34:10 ? 0:36 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache@xxxxxx# ps -ef | grep 2918 apache 2918 22082 0 11:34:03 ? 0:36 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache@xxxxxx# ps -ef | grep 22082 apache 22083 22082 1 Mar 10 ? 3:57 /app/apache/cronlog/bin/cronolog --symlink=/app/apachedocs/VOWeb/OmniPRI/logs/a apache 2918 22082 0 11:34:03 ? 0:37 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache 2949 22082 0 11:34:10 ? 0:36 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache 2950 22082 0 11:34:12 ? 0:37 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache 3409 22082 0 11:35:29 ? 0:35 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache 2956 22082 0 11:34:34 ? 0:34 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache 3472 22082 0 11:35:58 ? 0:34 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om apache 22084 22082 0 Mar 10 ? 0:40 /app/apache/cronlog/bin/cronolog --symlink=/app/apachedocs/VOWeb/OmniPRI/logs/s apache 22082 1 0 Mar 10 ? 0:01 /app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f /app/apachedocs/VOWeb/Om Can You help us in some way, please? Thanks again. Best regards. Antenore. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org