newsyslog and apache
DA Forsyth
d.forsyth at ru.ac.za
Thu Oct 2 12:20:59 UTC 2008
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/
More information about the freebsd-questions
mailing list