From owner-freebsd-questions@FreeBSD.ORG Thu Apr 2 09:15:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 970491065674 for ; Thu, 2 Apr 2009 09:15:08 +0000 (UTC) (envelope-from robin@reportlab.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 32A6C8FC14 for ; Thu, 2 Apr 2009 09:15:08 +0000 (UTC) (envelope-from robin@reportlab.com) Received: by fg-out-1718.google.com with SMTP id 13so272040fge.12 for ; Thu, 02 Apr 2009 02:15:07 -0700 (PDT) Received: by 10.86.82.16 with SMTP id f16mr6941446fgb.32.1238663707344; Thu, 02 Apr 2009 02:15:07 -0700 (PDT) Received: from ?192.168.0.3? (host-82-44-127-245.static.telewest.net [82.44.127.245]) by mx.google.com with ESMTPS id d6sm2582443fga.7.2009.04.02.02.15.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Apr 2009 02:15:07 -0700 (PDT) Message-ID: <49D48218.2080905@chamonix.reportlab.co.uk> Date: Thu, 02 Apr 2009 10:15:04 +0100 From: Robin Becker User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: apache halting during log rotation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2009 09:15:08 -0000 I have the following in my newsyslog.conf > /var/log/httpd-*.log 644 9 8 @T01 BG /var/run/httpd.pid 30 and am seeing crashes with apache-2.0.63_2 which I think are associated. The relevant error log entries appear to be these lines > [Thu Apr 02 01:00:00 2009] [notice] Graceful restart requested, doing restart > [Thu Apr 02 01:00:00 2009] [emerg] (2)No such file or directory: Couldn't initialize cross-process lock in child > [Thu Apr 02 01:00:00 2009] [emerg] (2)No such file or directory: Couldn't initialize cross-process lock in child > [Thu Apr 02 01:00:00 2009] [notice] FastCGI: process manager initialized (pid 93707) > [Thu Apr 02 01:00:01 2009] [warn] RSA server certificate CommonName (CN) `*.xxx.org' does NOT match server name!? > [Thu Apr 02 01:00:01 2009] [warn] RSA server certificate CommonName (CN) `*.xxx.org' does NOT match server name!? ....... > [Thu Apr 02 01:00:01 2009] [warn] RSA server certificate wildcard CommonName (CN) `*.xxx.org' does NOT match server name!? > [Thu Apr 02 01:00:01 2009] [notice] Apache/2.0.63 (FreeBSD) mod_fastcgi/2.4.6 mod_ssl/2.0.63 OpenSSL/0.9.8e configured -- resuming normal operations > [Thu Apr 02 01:00:01 2009] [alert] Child 93701 returned a Fatal error... Apache is exiting! > [Thu Apr 02 01:00:01 2009] [alert] FastCGI: read() from pipe failed (0) > [Thu Apr 02 01:00:01 2009] [alert] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye I have used this rotation scheme with 6.0/6.1/6.2 for some years and it has never failed till the last few days when I'm now running 7.0-RELEASE. Can anyone adivise what could be done to ameliorate this. I see mention of rotatelogs, is that a better solution to this problem? -- Robin Becker