From owner-freebsd-questions@FreeBSD.ORG Thu Oct 2 12:20:59 2008 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 4F6EB1065686 for ; Thu, 2 Oct 2008 12:20:59 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from b.mail.ru.ac.za (b.mail.ru.ac.za [IPv6:2001:4200:1010::25:2]) by mx1.freebsd.org (Postfix) with ESMTP id 829578FC17 for ; Thu, 2 Oct 2008 12:20:58 +0000 (UTC) (envelope-from D.Forsyth@ru.ac.za) Received: from iwr.ru.ac.za ([146.231.64.249]:53350) by b.mail.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlNAu-00026B-4Y for freebsd-questions@freebsd.org; Thu, 02 Oct 2008 14:20:56 +0200 Received: from iwr61.iwr.ru.ac.za ([146.231.64.161]) by iwr.ru.ac.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlNAt-000CUJ-Ut for freebsd-questions@freebsd.org; Thu, 02 Oct 2008 14:20:56 +0200 From: "DA Forsyth" Organization: IWR To: freebsd-questions@freebsd.org Date: Thu, 02 Oct 2008 14:20:50 +0200 MIME-Version: 1.0 Message-ID: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> Priority: normal X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: b.mail.ru.ac.za (146.231.129.34) Subject: newsyslog and apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: iwrTech@iwr.ru.ac.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 12:20:59 -0000 I used to have one big apache log file, but decided to rotate it once a month using newsyslog. However, now apache stops and does not restart when the log is rotated. line from newsyslog.conf /var/log/apache/httpd-access.log 640 13 * $M1D8 B /var/run/httpd.pid 30 with a similar one for the error log. I have to manually start apache after this rotates the log. I alos see that 'apachectl restart' stops apache but it doesn't restart. any ideas? -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/