Date: Thu, 02 Apr 2009 10:15:04 +0100 From: Robin Becker <robin@reportlab.com> To: freebsd-questions@freebsd.org Subject: apache halting during log rotation Message-ID: <49D48218.2080905@chamonix.reportlab.co.uk>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D48218.2080905>