Date: Thu, 2 Oct 2008 14:51:26 +0200 From: "Zbigniew Szalbot" <zszalbot@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: newsyslog and apache Message-ID: <94136a2c0810020551r23e39e3fq6b3202d7ef7b71d6@mail.gmail.com> In-Reply-To: <20081002084811.6fe9a50d@scorpio> References: <48E4D8C2.5329.1F4F9A43@d.forsyth.ru.ac.za> <20081002084811.6fe9a50d@scorpio>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, 2008/10/2 Jerry <gesbbb@yahoo.com>: > On Thu, 02 Oct 2008 14:20:50 +0200 > "DA Forsyth" <d.forsyth@ru.ac.za> wrote: > >>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? > > > I use 'rotatelogs': No need to change log rotation software since the problem clearly is somewhere else. You need to inspect Apache's error logs to see why it cannot start. -- Zbigniew Szalbot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94136a2c0810020551r23e39e3fq6b3202d7ef7b71d6>